MCPcopy Create free account
hub / github.com/base/base / rpc_to_primitive_block

Method rpc_to_primitive_block

crates/execution/node/src/node.rs:377–379  ·  view source on GitHub ↗
(rpc_block: Self::RpcBlock)

Source from the content-addressed store, hash-verified

375 type RpcBlock = alloy_rpc_types_eth::Block<BaseTxEnvelope>;
376
377 fn rpc_to_primitive_block(rpc_block: Self::RpcBlock) -> reth_node_api::BlockTy<Self> {
378 rpc_block.into_consensus()
379 }
380
381 fn local_payload_attributes_builder(
382 chain_spec: &Self::ChainSpec,

Callers

nothing calls this directly

Calls 1

into_consensusMethod · 0.80

Tested by

no test coverage detected