chore: useful reth / alloy type conversions #82
Labels
A-providers
Area: Providers crate
A-rollup
Area: rollup crate
C-blocked
A blocked issue
C-enhancement
New feature or request
The following traits should be implemented in alloy to remove manual casting functions in op-rs:
impl From<reth::primitives::SealedBlock> for alloy::rpc::types::Block
impl From<reth::primitives::SealedHeader> for alloy::consensus::Header
impl From<reth::primitives::TransactionSigned> for Option<alloy::consensus::TxEnvelope>
(TryFrom is fine too)impl From<reth::rpc::types::Block> for alloy::rpc::types::Block<TxEnvelope>
The text was updated successfully, but these errors were encountered: