pub use WeightInfo in Grandpa + Messsages pallets (#1370)

This commit is contained in:
Svyatoslav Nikolsky
2022-04-07 19:02:23 +03:00
committed by Bastian Köcher
parent 14b27a0209
commit eb1e48edba
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -36,8 +36,6 @@
// Runtime-generated enums
#![allow(clippy::large_enum_variant)]
use crate::weights::WeightInfo;
use bp_header_chain::{justification::GrandpaJustification, InitializationData};
use bp_runtime::{BlockNumberOf, Chain, HashOf, HasherOf, HeaderOf};
use finality_grandpa::voter_set::VoterSet;
@@ -58,6 +56,7 @@ pub mod benchmarking;
// Re-export in crate namespace for `construct_runtime!`
pub use pallet::*;
pub use weights::WeightInfo;
/// Block number of the bridged chain.
pub type BridgedBlockNumber<T, I> = BlockNumberOf<<T as Config<I>>::BridgedChain>;