Collection of enhancement for staking/phragmen. (#5534)

* Collection of enhancement for staking phragmen.

* Ditch signed extension

* Fix build

* Update frame/staking/src/lib.rs

Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>

* Update frame/staking/src/tests.rs

Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>

* Fix reward limits

* Disallow payout_stakers

* Remove unused import

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
Kian Paimani
2020-04-09 11:29:11 +02:00
committed by GitHub
parent 92b39365e3
commit e7e7e89e71
9 changed files with 94 additions and 178 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
//!
//! Note that these helpers should NOT be used with the actual crate tests, but are rather designed
//! for when the module is being externally tested (i.e. fuzzing, benchmarking, e2e tests). Enabling
//! this feature in the current crate's Cargo.toml will leak the all of this into a normal release
//! this feature in the current crate's Cargo.toml will leak all of this into a normal release
//! build. Just don't do it.
use crate::*;