alloy
alloy copied to clipboard
[Feature] Add network-parameterized block responses
Component
network, json-rpc, providers, pubsub
Describe the feature you would like
#190 replaced the provider with a network-parameterized provider, but block responses are still just Ethereum headers and Ethereum transactions. We need a Block
type generic for networks.
We have one in alloy-network
but we need to check that it is correct and use it in alloy-providers
:
https://github.com/alloy-rs/alloy/blob/63af0c4dd43a94126348afaf94b744b98608c293/crates/network/src/lib.rs#L36-L51
Additional context
No response