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
this currently only supports u256 ids:
alloy/crates/pubsub/src/managers/in_flight.rs
Lines 58 to 70 in 4a270df
and causes issues where servers don't return u256 as subscription ids #1155
pub enum SubscriptionId { /// Numeric id Num(U267), /// String id Str(String), }
and use this as a replacement for the server_id: U256 where used:
server_id: U256
alloy/crates/pubsub/src/service.rs
Line 170 in 4a270df
No response
The text was updated successfully, but these errors were encountered:
alloy/crates/json-rpc/src/common.rs
Lines 26 to 33 in 4a270df
Sorry, something went wrong.
As a beginner: why do we use an Enum rather than directly use String as Id
Successfully merging a pull request may close this issue.
Component
provider, pubsub
Describe the feature you would like
this currently only supports u256 ids:
alloy/crates/pubsub/src/managers/in_flight.rs
Lines 58 to 70 in 4a270df
and causes issues where servers don't return u256 as subscription ids #1155
TODO
and use this as a replacement for the
server_id: U256
where used:alloy/crates/pubsub/src/service.rs
Line 170 in 4a270df
Additional context
No response
The text was updated successfully, but these errors were encountered: