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
json-rpc
v0.1.0 (latest main branch)
Linux
Looking at:
alloy/crates/json-rpc/src/notification.rs
Lines 55 to 72 in 0ba6b61
It seems PubSubItem try to deserialize an EthNotification from a json that looks like this:
PubSubItem
EthNotification
{ "jsonrpc": "2.0", "method": "eth_subscription", "subscription": "0x..." "result": {}, }
Whereas the correct json is like this:
{ "jsonrpc": "2.0", "method": "eth_subscription", "params": { "subscription": "0x..." "result": {}, } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Component
json-rpc
What version of Alloy are you on?
v0.1.0 (latest main branch)
Operating System
Linux
Describe the bug
Looking at:
alloy/crates/json-rpc/src/notification.rs
Lines 55 to 72 in 0ba6b61
It seems
PubSubItem
try to deserialize anEthNotification
from a json that looks like this:Whereas the correct json is like this:
The text was updated successfully, but these errors were encountered: