Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wangminqi committed Mar 6, 2025
1 parent 04bf055 commit a57a68a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parachain/pallets/parachain-staking-fee-reward/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ fn reward_distributed() {
// Reward distributed
// DefaultCollatorCommission = 20%
// DefaultParachainBondReservePercent = 30%
// Reward still recorded
assert_eq!(ParachainStakingFeeReward::round_accumulated_reward(3), 30);
assert_eq!(Balances::free_balance(1), 75 + 30);
assert_eq!(Balances::free_balance(3), 70 + 30);
// Reward still recorded
Expand Down

0 comments on commit a57a68a

Please sign in to comment.