mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 20:57:59 +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:
@@ -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