Skip to content

Commit

Permalink
✅ Add tests for dual USDC rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
Flocqst committed Jul 19, 2024
1 parent f880deb commit e0942d8
Show file tree
Hide file tree
Showing 9 changed files with 379 additions and 61 deletions.
2 changes: 1 addition & 1 deletion test/foundry/integration/stakingV2.upgrade.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ contract StakingV2UpgradeTests is DefaultStakingV2Setup {
assertEq(1 ether, rewardEscrowV2.escrowedBalanceOf(user1));

// add new rewards
addNewRewardsToStakingRewardsV2(1 weeks);
addNewRewardsToStakingRewardsV2(1 weeks, 0);
vm.warp(block.timestamp + stakingRewardsV2.rewardsDuration());

// claim the rewards
Expand Down
Loading

0 comments on commit e0942d8

Please sign in to comment.