Unverified Commit ed561355 authored by Keith Yeung's avatar Keith Yeung Committed by GitHub
Browse files

Companion for substrate #9371 (#3487)

* Add MaxAuthorities to aura pallet config

* update Substrate

Co-authored-by: parity-processbot <>
parent 7f813f52
Pipeline #155175 passed with stages
in 39 minutes and 46 seconds
This diff is collapsed.
...@@ -207,8 +207,13 @@ impl frame_system::Config for Runtime { ...@@ -207,8 +207,13 @@ impl frame_system::Config for Runtime {
impl pallet_randomness_collective_flip::Config for Runtime {} impl pallet_randomness_collective_flip::Config for Runtime {}
parameter_types! {
pub const MaxAuthorities: u32 = 10;
}
impl pallet_aura::Config for Runtime { impl pallet_aura::Config for Runtime {
type AuthorityId = AuraId; type AuthorityId = AuraId;
type MaxAuthorities = MaxAuthorities;
} }
impl pallet_bridge_dispatch::Config for Runtime { impl pallet_bridge_dispatch::Config for Runtime {
type Event = Event; type Event = Event;
......
...@@ -215,8 +215,13 @@ impl frame_system::Config for Runtime { ...@@ -215,8 +215,13 @@ impl frame_system::Config for Runtime {
impl pallet_randomness_collective_flip::Config for Runtime {} impl pallet_randomness_collective_flip::Config for Runtime {}
parameter_types! {
pub const MaxAuthorities: u32 = 10;
}
impl pallet_aura::Config for Runtime { impl pallet_aura::Config for Runtime {
type AuthorityId = AuraId; type AuthorityId = AuraId;
type MaxAuthorities = MaxAuthorities;
} }
type RialtoPoA = pallet_bridge_eth_poa::Instance1; type RialtoPoA = pallet_bridge_eth_poa::Instance1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment