Function pallet_bridge_beefy::pallet::dispatchables::submit_commitment
source · pub fn submit_commitment<T: Config<I>, I: 'static>(
commitment: BridgedBeefySignedCommitment<T, I>,
validator_set: BridgedBeefyAuthoritySet<T, I>,
mmr_leaf: Box<BridgedBeefyMmrLeaf<T, I>>,
mmr_proof: BridgedMmrProof<T, I>,
)
Expand description
Submit a commitment generated by BEEFY authority set.
It will use the underlying storage pallet to fetch information about the current authority set and best finalized block number in order to verify that the commitment is valid.
If successful in verification, it will update the underlying storage with the data provided in the newly submitted commitment.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::submit_commitment
.