referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_bridge_grandpa::GrandpaChainHeaders

source ·
pub type GrandpaChainHeaders<T, I> = Pallet<T, I>;
Expand description

Bridge GRANDPA pallet as header chain.

Aliased Type§

struct GrandpaChainHeaders<T, I>(/* private fields */);

Trait Implementations§

source§

impl<T: Config<I>, I: 'static> HeaderChain<<T as Config<I>>::BridgedChain> for GrandpaChainHeaders<T, I>

source§

fn finalized_header_state_root( header_hash: HashOf<BridgedChain<T, I>>, ) -> Option<HashOf<BridgedChain<T, I>>>

Returns state (storage) root of given finalized header.
§

fn verify_storage_proof( header_hash: <C as Chain>::Hash, storage_proof: Vec<Vec<u8>>, ) -> Result<StorageProofChecker<<C as Chain>::Hasher>, HeaderChainError>

Get storage proof checker using finalized header.