This commit is contained in:
thiolliere
2020-03-27 12:38:14 +01:00
committed by GitHub
parent eed0045a0c
commit 7abc577017
3 changed files with 12 additions and 5 deletions
-3
View File
@@ -254,8 +254,6 @@ fn staking_should_work() {
// --- Block 1:
start_session(1);
Timestamp::set_timestamp(1); // Initialize time.
// remember + compare this along with the test.
assert_eq_uvec!(validator_controllers(), vec![20, 10]);
@@ -1039,7 +1037,6 @@ fn bond_extra_and_withdraw_unbonded_works() {
assert_ne!(Staking::eras_stakers(Staking::active_era().unwrap().index, 11), Exposure { total: 1000 + 100, own: 1000 + 100, others: vec![] });
// trigger next era.
Timestamp::set_timestamp(10);
start_era(2);
assert_eq!(Staking::active_era().unwrap().index, 2);