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