ensure that the bridge GRANDPA pallet is initialized in the finality relay (#1423)

This commit is contained in:
Svyatoslav Nikolsky
2022-05-30 16:31:57 +03:00
committed by Bastian Köcher
parent 4001cfb758
commit 78a43c561a
3 changed files with 21 additions and 4 deletions
@@ -54,6 +54,9 @@ pub enum Error {
/// The bridge pallet is halted and all transactions will be rejected.
#[error("Bridge pallet is halted.")]
BridgePalletIsHalted,
/// The bridge pallet is not yet initialized and all transactions will be rejected.
#[error("Bridge pallet is not initialized.")]
BridgePalletIsNotInitialized,
/// An error has happened when we have tried to parse storage proof.
#[error("Error when parsing storage proof: {0:?}.")]
StorageProofError(bp_runtime::StorageProofError),