Companion Substaret/5683 (#1039)

* update polkadot

* Fix build

* Bump Substrate

Co-authored-by: Gav Wood <gavin@parity.io>
This commit is contained in:
Kian Paimani
2020-04-27 20:34:46 +02:00
committed by GitHub
parent fb5421b1d6
commit 7076651c75
7 changed files with 149 additions and 129 deletions
+2
View File
@@ -308,6 +308,7 @@ parameter_types! {
pub const MaxNominatorRewardedPerValidator: u32 = 64;
// quarter of the last session will be for election.
pub const ElectionLookahead: BlockNumber = EPOCH_DURATION_IN_BLOCKS / 4;
pub const MaxIterations: u32 = 5;
}
impl staking::Trait for Runtime {
@@ -330,6 +331,7 @@ impl staking::Trait for Runtime {
type ElectionLookahead = ElectionLookahead;
type Call = Call;
type UnsignedPriority = StakingUnsignedPriority;
type MaxIterations = MaxIterations;
}
parameter_types! {