From 94d311ce364ad5b9b86d970a79961f93e2a8d578 Mon Sep 17 00:00:00 2001 From: Yash Patil Date: Mon, 16 Sep 2024 12:17:00 -0400 Subject: [PATCH] feat: tx8 --- lib/forge-std | 2 +- .../rewards_testing/SubmitRewardsForAllEarners.s.sol | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/forge-std b/lib/forge-std index e04104ab9..1714bee72 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit e04104ab93e771441eab03fb76eda1402cb5927b +Subproject commit 1714bee72e286e73f76e320d110e0eaf5c4e649d diff --git a/script/utils/rewards_testing/SubmitRewardsForAllEarners.s.sol b/script/utils/rewards_testing/SubmitRewardsForAllEarners.s.sol index e4843e716..e7fe65fc9 100644 --- a/script/utils/rewards_testing/SubmitRewardsForAllEarners.s.sol +++ b/script/utils/rewards_testing/SubmitRewardsForAllEarners.s.sol @@ -143,10 +143,10 @@ contract SubmitRewardsForAllEarners is ExistingDeploymentParser { _submitRewardsForAllEarners(rewardsSubmission); } - function tx_5() public parseState { + function tx_8() public parseState { // Deploy token - string memory name = "RewardForAllEarner_Test_5"; - string memory symbol = "RFA_5"; + string memory name = "RewardForAllEarner_Test_8"; + string memory symbol = "RFA_8"; IERC20 rewardToken = IERC20(_deployToken(name, symbol)); IRewardsCoordinator.RewardsSubmission[] memory rewardsSubmission = new IRewardsCoordinator.RewardsSubmission[](1); @@ -162,8 +162,8 @@ contract SubmitRewardsForAllEarners is ExistingDeploymentParser { // Format Range uint32 moddedCurrTimestamp = uint32(block.timestamp) - (uint32(block.timestamp) % rewardsCoordinator.CALCULATION_INTERVAL_SECONDS()); - uint32 startTimestamp = moddedCurrTimestamp - 1 weeks; - uint32 duration = 2 weeks; + uint32 startTimestamp = 1724889600; + uint32 duration = 6 weeks; rewardsSubmission[0] = IRewardsCoordinator.RewardsSubmission({ strategiesAndMultipliers: strategyAndMultipliers,