|
94b96276b6
|
Fix restore calculation: we should not restore rewards to those who managed to withdraw from the old Staking contract
|
2023-06-14 07:27:09 -07:00 |
|
|
79d5bfd103
|
Fix rewards accrual bug mentioned by T-Hax: in 'accrueOldRewards' function we added rewards that staker hasn't earned, because 'checkReward' function in Staking contract returns updated (actual) reward amount, but not update it in storage. Replace 'checkReward' function with getter 'accumulatedRewards', which returns actual accumulated reward amount (not updated)
|
2023-06-12 16:45:32 -07:00 |
|
|
439f3209d0
|
Lower gas to deployment five times
|
2023-06-12 14:17:26 -07:00 |
|
|
015c5d8a14
|
Create solidity source and tests for proposal
|
2023-06-12 06:22:32 -07:00 |
|