Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

chore: useful reth / alloy type conversions #82

@merklefruit

Description

@merklefruit

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions