We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provider, pubsub, serde
alloy v0.8.0
Linux
Subscribing to full pending transactions is throwing the following error, the error can be reproduced using the following snippet:
pub async fn subscribe_to_txs_eth(&self) { let provider = self.get_provider(&Network::Ethereum).as_ws(); let sub = provider.subscribe_full_pending_transactions().await; if let Ok(sub) = sub { let mut stream = sub.into_stream(); while let Some(tx) = stream.next().await { println!("{:#?}", tx); } } }
Result:
2024-12-16T10:09:01.254763Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 1301 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48 2024-12-16T10:09:01.350771Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 486 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48 2024-12-16T10:09:01.451026Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 616 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48 2024-12-16T10:09:01.451571Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 484 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48 2024-12-16T10:09:01.451683Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 614 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48 2024-12-16T10:09:01.665247Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 4825 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48 2024-12-16T10:09:01.665573Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 485 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48 2024-12-16T10:09:01.760554Z ERROR tokio-runtime-worker ThreadId(06) failed deserializing subscription item err=missing field `from` at line 1 column 579 self.id=0x745ec89e2342f62441d1d47c397d4852e759d8c0fecb5828e97e26251d813a48
The text was updated successfully, but these errors were encountered:
@hjawhar why the issue was closed?
Sorry, something went wrong.
@delef It's still pending.
Hi! Can I work on this issue please? @hjawhar
@hjawhar which chain are you interacting with? Is it OP-Stack based?
If yes, the solution is similar to the one suggested here #1803 (comment). Using AnyNetwork or Optimism network type.
No branches or pull requests
Component
provider, pubsub, serde
What version of Alloy are you on?
alloy v0.8.0
Operating System
Linux
Describe the bug
Subscribing to full pending transactions is throwing the following error, the error can be reproduced using the following snippet:
Result:
The text was updated successfully, but these errors were encountered: