Trait BlockExecutionForkProvider

Source
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§

Source

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§

Source§

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

Source§

fn canonical_fork(&self) -> NumHash

Source§

impl<T> BlockExecutionForkProvider for Box<T>

Source§

fn canonical_fork(&self) -> NumHash

Implementors§