Companion for substrate #9371 (#3487)

* Add MaxAuthorities to aura pallet config

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Keith Yeung
2021-09-01 23:56:56 -07:00
committed by GitHub
parent ffcde1e5e7
commit 01c60ddeab
3 changed files with 163 additions and 155 deletions
+153 -155
View File
File diff suppressed because it is too large Load Diff
@@ -207,8 +207,13 @@ impl frame_system::Config for Runtime {
impl pallet_randomness_collective_flip::Config for Runtime {}
parameter_types! {
pub const MaxAuthorities: u32 = 10;
}
impl pallet_aura::Config for Runtime {
type AuthorityId = AuraId;
type MaxAuthorities = MaxAuthorities;
}
impl pallet_bridge_dispatch::Config for Runtime {
type Event = Event;
@@ -215,8 +215,13 @@ impl frame_system::Config for Runtime {
impl pallet_randomness_collective_flip::Config for Runtime {}
parameter_types! {
pub const MaxAuthorities: u32 = 10;
}
impl pallet_aura::Config for Runtime {
type AuthorityId = AuraId;
type MaxAuthorities = MaxAuthorities;
}
type RialtoPoA = pallet_bridge_eth_poa::Instance1;