Crate pallet_bridge_beefy
source ·Expand description
BEEFY bridge pallet.
This pallet is an on-chain BEEFY light client for Substrate-based chains that are using the
following pallets bundle: pallet-mmr
, pallet-beefy
and pallet-beefy-mmr
.
The pallet is able to verify MMR leaf proofs and BEEFY commitments, so it has access to the following data of the bridged chain:
- header hashes
- changes of BEEFY authorities
- extra data of MMR leafs
Given the header hash, other pallets are able to verify header-based proofs (e.g. storage proofs, transaction inclusion proofs, etc.).
Re-exports§
pub use pallet::*;
Modules§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- Some high level info about the imported commitments.
Constants§
- The target that will be used when publishing logs related to this pallet.
Type Aliases§
- BEEFY validator id, used by configured bridged chain.
- BEEFY validator set, used by configured bridged chain.
- BEEFY authority set, used by configured bridged chain.
- BEEFY commitment hasher, used by configured bridged chain.
- MMR leaf type, used by configured bridged chain.
- The type of the MMR leaf extra data used by the configured bridged chain.
- BEEFY signed commitment, used by configured bridged chain.
- Block hash, used by configured bridged chain.
- Block number, used by configured bridged chain.
- Configured bridged chain.
- MMR hashing output type of
BridgedMmrHashing<T, I>
. - MMR hashing algorithm, used by configured bridged chain.
- BEEFY MMR proof type used by the pallet
- Imported commitment data, stored by the pallet.
- Pallet initialization data.