Type Alias risc0_steel::ethereum::EthBlockHeader

source ·
pub type EthBlockHeader = RlpHeader<Header>;
Expand description

EvmBlockHeader for Ethereum.

Aliased Type§

struct EthBlockHeader { /* private fields */ }

Trait Implementations§

source§

impl EvmBlockHeader for EthBlockHeader

source§

fn parent_hash(&self) -> &B256

Returns the hash of the parent block’s header.
source§

fn number(&self) -> BlockNumber

Returns the block number.
source§

fn timestamp(&self) -> u64

Returns the block timestamp.
source§

fn state_root(&self) -> &B256

Returns the state root hash.
source§

fn receipts_root(&self) -> &B256

Available on crate feature unstable-event only.
Returns the receipts root hash of the block.
source§

fn logs_bloom(&self) -> &Bloom

Available on crate feature unstable-event only.
Returns the logs bloom filter of the block
source§

fn fill_block_env(&self, blk_env: &mut BlockEnv)

Fills the EVM block environment with the header’s data.