@@ -248,8 +248,8 @@ fn contract_transfer_oog() {
248
248
// 2 * 135 - base gas fee for call (by contract)
249
249
100_000_000 - ( 2 * 6 ) - ( 2 * 135 ) - ( 2 * 135 ) ,
250
250
) ;
251
- assert_eq ! ( Staking :: free_balance( & 1 ) , 11 , ) ;
252
- assert_eq ! ( Staking :: free_balance( & CONTRACT_SHOULD_TRANSFER_TO ) , 0 , ) ;
251
+ assert_eq ! ( Staking :: free_balance( & 1 ) , 11 ) ;
252
+ assert_eq ! ( Staking :: free_balance( & CONTRACT_SHOULD_TRANSFER_TO ) , 0 ) ;
253
253
} ) ;
254
254
}
255
255
@@ -280,7 +280,7 @@ fn contract_transfer_max_depth() {
280
280
// 2 * 135 * 100 - base gas fee for call (by transaction) multiplied by max depth (100).
281
281
100_000_000 - ( 2 * 135 * 100 ) - ( 2 * 6 * 100 ) ,
282
282
) ;
283
- assert_eq ! ( Staking :: free_balance( & CONTRACT_SHOULD_TRANSFER_TO ) , 11 , ) ;
283
+ assert_eq ! ( Staking :: free_balance( & CONTRACT_SHOULD_TRANSFER_TO ) , 11 ) ;
284
284
} ) ;
285
285
}
286
286
@@ -506,12 +506,12 @@ fn account_removal_removes_storage() {
506
506
// Setup two accounts with free balance above than exsistential threshold.
507
507
{
508
508
Staking :: set_free_balance ( & 1 , 110 ) ;
509
- Staking :: increase_total_stake_by ( 110 ) ;
509
+ Staking :: increase_total_stake_by ( 110 ) ;
510
510
<StorageOf < Test > >:: insert ( 1 , b"foo" . to_vec ( ) , b"1" . to_vec ( ) ) ;
511
511
<StorageOf < Test > >:: insert ( 1 , b"bar" . to_vec ( ) , b"2" . to_vec ( ) ) ;
512
512
513
513
Staking :: set_free_balance ( & 2 , 110 ) ;
514
- Staking :: increase_total_stake_by ( 110 ) ;
514
+ Staking :: increase_total_stake_by ( 110 ) ;
515
515
<StorageOf < Test > >:: insert ( 2 , b"hello" . to_vec ( ) , b"3" . to_vec ( ) ) ;
516
516
<StorageOf < Test > >:: insert ( 2 , b"world" . to_vec ( ) , b"4" . to_vec ( ) ) ;
517
517
}
0 commit comments