[Feature] Optimism Block
, SubscriptionResult
RPC types
#5
Labels
A-rpc-types
Area: op alloy rpc types
Block
, SubscriptionResult
RPC types
#5
Component
rpc
Describe the feature you would like
Currently, the
Block
RPC type is not implemented for Optimism due to the complexities that arise from introducing a genericTransaction
to the type.Similarly,
SubscriptionResult
does not take a generic at this moment, you can find the relevant discussion to it in the link below.Additional context
This could potentially be solved by making a transaction trait that can be used to restrict the generic.
Relevant discussion: alloy-rs/alloy#573
The text was updated successfully, but these errors were encountered: