mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-10 20:57:06 +00:00
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:
1 parent
ae6c2f7f8c
commit
7927e80bc6
16 files changed
+102
-116
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user