Companion for Decouple Staking and Election - Part 3: Signed Phase (#2793)
* Companion for Decouple Staking and Election - Part 3: Signed Phase https://github.com/paritytech/substrate/pull/7910 * remove some config types * allow up to 5 signed submissions on polkadot and kusama * signed phase is equal induration to unsigned phase * use chain defaults for base and per-byte deposits; >= 16 SignedMaxSubmissions * use a small but non-trivial solution reward * reduce signed deposit per byte fee * reduce signed reward, adjust polkadot expected soln size * copy submit benchmark from substrate * demo calculating an appropriate fee for the signed reward Unfortunately, this doesn't work: it needs to be a constant function, and AFAIK there's no way to make a trait method constant. * SignedRewardBase is 1.5x the fee to submit a signed solution * all chains use deposit byte of base per 50k * update Substrate * cargo update -p pallet-election-provider-multi-phase Co-authored-by: parity-processbot <>
Showing
- polkadot/Cargo.lock 156 additions, 155 deletionspolkadot/Cargo.lock
- polkadot/runtime/common/Cargo.toml 2 additions, 1 deletionpolkadot/runtime/common/Cargo.toml
- polkadot/runtime/common/src/elections.rs 61 additions, 0 deletionspolkadot/runtime/common/src/elections.rs
- polkadot/runtime/common/src/lib.rs 3 additions, 21 deletionspolkadot/runtime/common/src/lib.rs
- polkadot/runtime/kusama/src/lib.rs 26 additions, 4 deletionspolkadot/runtime/kusama/src/lib.rs
- polkadot/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs 17 additions, 0 deletions...usama/src/weights/pallet_election_provider_multi_phase.rs
- polkadot/runtime/polkadot/src/lib.rs 25 additions, 3 deletionspolkadot/runtime/polkadot/src/lib.rs
- polkadot/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs 17 additions, 0 deletions...kadot/src/weights/pallet_election_provider_multi_phase.rs
- polkadot/runtime/westend/src/lib.rs 25 additions, 3 deletionspolkadot/runtime/westend/src/lib.rs
- polkadot/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs 17 additions, 0 deletions...stend/src/weights/pallet_election_provider_multi_phase.rs
Please register or sign in to comment