reth_provider

Trait BlockExecutionForkProvider

pub trait BlockExecutionForkProvider {
    // Required method
    fn canonical_fork(&self) -> NumHash;
}
Expand description

Fork data needed for execution on it.

It contains a canonical fork, the block on what pending chain was forked from.

Required Methods§

fn canonical_fork(&self) -> NumHash

Return canonical fork, the block on what post state was forked from.

Needed to create state provider.

Implementations on Foreign Types§

§

impl<'a, T> BlockExecutionForkProvider for &'a T

§

fn canonical_fork(&self) -> NumHash

§

impl<T> BlockExecutionForkProvider for Box<T>

§

fn canonical_fork(&self) -> NumHash

Implementors§