mirror of
https://github.com/vacp2p/staking-reward-streamer.git
synced 2026-01-09 21:18:01 -05:00
TEST: check rewards balances after 10 years and without new rewards
This commit is contained in:
@@ -2220,6 +2220,12 @@ contract RewardsStreamerMP_RewardsTest is RewardsStreamerMPTest {
|
||||
s.addReward(1000e18);
|
||||
dump(s);
|
||||
|
||||
console.log("--------------");
|
||||
|
||||
vm.warp(initialTime + 3650 days);
|
||||
console.log("after 10 years, no rewards");
|
||||
dump(s);
|
||||
|
||||
// console.log("total rewards supply", s.rewardsTotalSupply());
|
||||
// console.log("rewardIndex", s.rewardIndex());
|
||||
// console.log("alice balance", s.rewardsBalanceOf(alice));
|
||||
|
||||
Reference in New Issue
Block a user