Expand description
Parachains finality module.
This module needs to be deployed with GRANDPA module, which is syncing relay
chain blocks. The main entry point of this module is submit_parachain_heads
, which
accepts storage proof of some parachain Heads
entries from bridged relay chain.
It requires corresponding relay headers to be already synced.
Re-exports§
pub use weights::WeightInfo;
pub use weights_ext::WeightInfoExt;
pub use pallet::*;
Modules§
- benchmarking
- Parachains finality pallet benchmarking.
- pallet
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet. - weights
- Autogenerated weights for pallet_bridge_parachains
- weights_
ext - Weight-related utilities.
Structs§
- Parachain
Headers - Single parachain header chain adapter.
- Submit
Parachain Heads Helper - Helper struct that provides methods for working with the
SubmitParachainHeads
call. - Verified
Submit Parachain Heads Info - Verified
SubmitParachainHeadsInfo
.
Constants§
- LOG_
TARGET - The target that will be used when publishing logs related to this pallet.
Traits§
- Call
SubType - Trait representing a call that is a sub type of this pallet’s call.
Functions§
- initialize_
for_ benchmarks - (Re)initialize pallet with given header for using it in
pallet-bridge-messages
benchmarks.