alloy icon indicating copy to clipboard operation
alloy copied to clipboard

[Feature] Add network-parameterized block responses

Open onbjerg opened this issue 11 months ago • 2 comments

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

onbjerg avatar Mar 11 '24 13:03 onbjerg