Crate bp_header_chain
source ·Expand description
Defines traits which represent a common interface for Substrate pallets which want to incorporate bridge functionality.
Modules§
- Logic for checking GRANDPA Finality Proofs.
- Storage keys of bridge GRANDPA pallet.
Structs§
- A GRANDPA Authority List and ID.
- A struct that provides helper methods for querying the GRANDPA consensus log.
- The finality-related info associated to a header.
- Data required for initializing the GRANDPA bridge pallet.
- Header data that we’re storing on-chain.
Enums§
- A minimized version of
pallet-bridge-grandpa::Call
that can be used without a runtime. - Header chain error.
Traits§
- Substrate-based chain that is using direct GRANDPA finality.
- A trait that provides helper methods for querying the consensus log.
- Abstract finality proof that is justifying block finality.
- Helper trait for finding equivocations in finality proofs.
- Substrate header chain, abstracted from the way it is stored.
- A type that can be used as a parameter in a dispatchable function.
- Stored header data builder.
Functions§
- Returns maximal expected size of
submit_finality_proof
call arguments.
Type Aliases§
- The
BridgeGrandpaCall
used by a chain. - Processed Grandpa-related info associated to a header.
- Grandpa-related info associated to a header. This info can be saved to events.