mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Adding storage_info to pallet grandpa (#9817)
Converting some `Vec` to `WeakBoundedVec` Adding `MaxAuthorities` type to bound the `WeakBoundedVec` Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
@@ -230,6 +230,7 @@ impl pallet_offences::Config for Test {
|
||||
parameter_types! {
|
||||
pub const ReportLongevity: u64 =
|
||||
BondingDuration::get() as u64 * SessionsPerEra::get() as u64 * Period::get();
|
||||
pub const MaxAuthorities: u32 = 100;
|
||||
}
|
||||
|
||||
impl Config for Test {
|
||||
@@ -250,6 +251,7 @@ impl Config for Test {
|
||||
super::EquivocationHandler<Self::KeyOwnerIdentification, Offences, ReportLongevity>;
|
||||
|
||||
type WeightInfo = ();
|
||||
type MaxAuthorities = MaxAuthorities;
|
||||
}
|
||||
|
||||
pub fn grandpa_log(log: ConsensusLog<u64>) -> DigestItem<H256> {
|
||||
|
||||
Reference in New Issue
Block a user