Since the Chain state provides blocks and its associated transactions to commit to the internal provider, the types are coerced into kona-derive's TxEnvelope type.
This ticket is to add a utility into reth's rpc-types-compat crate, following discussion here to handle these type conversions.
Description
https://github.com/paradigmxyz/op-rs/pull/15 introduces the
InMemoryChainProvider
in thekona-providers
crate.Since the
Chain
state provides blocks and its associated transactions to commit to the internal provider, the types are coerced intokona-derive
'sTxEnvelope
type.This ticket is to add a utility into reth's
rpc-types-compat
crate, following discussion here to handle these type conversions.