pub trait BlockExecutionForkProvider {
    // Required method
    fn canonical_fork(&self) -> BlockNumHash;
}
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§

source

fn canonical_fork(&self) -> BlockNumHash

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

Needed to create state provider.

Implementations on Foreign Types§

source§

impl<'a, T: 'a + BlockExecutionForkProvider + ?Sized> BlockExecutionForkProvider for &'a T

source§

fn canonical_fork(&self) -> BlockNumHash

source§

impl<T: BlockExecutionForkProvider + ?Sized> BlockExecutionForkProvider for Box<T>

source§

fn canonical_fork(&self) -> BlockNumHash

Implementors§