Check the genesis hash in transactions regardless of era. (#3286)

* Check the genesis hash in transactions regardless of era.

* Fix check-fees, too.

* Undo.

* Subkey supports new signing.

* Remove unneeded type param.

* Bump tx version

* Build.

* Another build fix

* Build again

* Cleanup

* Another fix.

* Fix

* Fixes

* 6 second blocks.

* Fixes

* Build fix

* Fix

* Fix.
This commit is contained in:
Gavin Wood authored and GitHub committed 2019-08-02 18:30:20 +02:00
1 parent ae6c2f7f8c
commit 7927e80bc6
16 files changed
+102 -116

No files matched your search

+2 -2
View File
@@ -365,8 +365,8 @@ fn rewards_should_work() {
<Module<Test>>::add_reward_points_to_validator(1001, 10_000);
// Compute total payout now for whole duration as other parameter won't change
let total_payout = current_total_payout_for_duration(9*5);
assert!(total_payout > 10); // Test is meaningfull if reward something
let total_payout = current_total_payout_for_duration(9 * 5);
assert!(total_payout > 10); // Test is meaningful if reward something
// No reward yet
assert_eq!(Balances::total_balance(&2), init_balance_2);