From cf857639ef0d7c7da1df51ec0cab4665ebbe0162 Mon Sep 17 00:00:00 2001 From: Narayan Prusty Date: Thu, 14 Sep 2023 11:42:39 +0100 Subject: [PATCH] fix: updated block numbers --- simulations/vip-169/vip-169-testnet/simulation.ts | 8 ++++---- simulations/vip-169/vip-169/simulation.ts | 8 ++++---- vips/vip-169/vip-169-testnet.ts | 4 ++-- vips/vip-169/vip-169.ts | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/simulations/vip-169/vip-169-testnet/simulation.ts b/simulations/vip-169/vip-169-testnet/simulation.ts index 681454473..6c3ef6ebf 100644 --- a/simulations/vip-169/vip-169-testnet/simulation.ts +++ b/simulations/vip-169/vip-169-testnet/simulation.ts @@ -49,10 +49,10 @@ forking(33312614, () => { describe("Post-VIP behavior", async () => { describe("Rewards Distributor", async () => { it("Validate last rewarding block", async () => { - expect((await hayRewardsDistributor.rewardTokenSupplyState(MARKET_HAY)).lastRewardingBlock).to.equal(33410731); - expect((await sdRewardsDistributor.rewardTokenSupplyState(MARKET_BNBx)).lastRewardingBlock).to.equal(33410731); - expect((await hayRewardsDistributor.rewardTokenBorrowState(MARKET_HAY)).lastRewardingBlock).to.equal(33410731); - expect((await sdRewardsDistributor.rewardTokenBorrowState(MARKET_BNBx)).lastRewardingBlock).to.equal(33410731); + expect((await hayRewardsDistributor.rewardTokenSupplyState(MARKET_HAY)).lastRewardingBlock).to.equal(33677478); + expect((await sdRewardsDistributor.rewardTokenSupplyState(MARKET_BNBx)).lastRewardingBlock).to.equal(33735078); + expect((await hayRewardsDistributor.rewardTokenBorrowState(MARKET_HAY)).lastRewardingBlock).to.equal(33677478); + expect((await sdRewardsDistributor.rewardTokenBorrowState(MARKET_BNBx)).lastRewardingBlock).to.equal(33735078); }); }); }); diff --git a/simulations/vip-169/vip-169/simulation.ts b/simulations/vip-169/vip-169/simulation.ts index d1703f39d..f5c4d9ecf 100644 --- a/simulations/vip-169/vip-169/simulation.ts +++ b/simulations/vip-169/vip-169/simulation.ts @@ -49,10 +49,10 @@ forking(31715160, () => { describe("Post-VIP behavior", async () => { describe("Rewards Distributor", async () => { it("Validate last rewarding block", async () => { - expect((await hayRewardsDistributor.rewardTokenSupplyState(MARKET_HAY)).lastRewardingBlock).to.equal(32713205); - expect((await sdRewardsDistributor.rewardTokenSupplyState(MARKET_BNBx)).lastRewardingBlock).to.equal(32713205); - expect((await hayRewardsDistributor.rewardTokenBorrowState(MARKET_HAY)).lastRewardingBlock).to.equal(32713205); - expect((await sdRewardsDistributor.rewardTokenBorrowState(MARKET_BNBx)).lastRewardingBlock).to.equal(32713205); + expect((await hayRewardsDistributor.rewardTokenSupplyState(MARKET_HAY)).lastRewardingBlock).to.equal(32200789); + expect((await sdRewardsDistributor.rewardTokenSupplyState(MARKET_BNBx)).lastRewardingBlock).to.equal(32258389); + expect((await hayRewardsDistributor.rewardTokenBorrowState(MARKET_HAY)).lastRewardingBlock).to.equal(32200789); + expect((await sdRewardsDistributor.rewardTokenBorrowState(MARKET_BNBx)).lastRewardingBlock).to.equal(32258389); }); }); }); diff --git a/vips/vip-169/vip-169-testnet.ts b/vips/vip-169/vip-169-testnet.ts index eaa942dec..eaff58e7d 100644 --- a/vips/vip-169/vip-169-testnet.ts +++ b/vips/vip-169/vip-169-testnet.ts @@ -21,12 +21,12 @@ export const vip169Testnet = () => { { target: HAY_REWARDS_DISTRIBUTOR, signature: "setLastRewardingBlocks(address[],uint32[],uint32[])", - params: [[MARKET_HAY], ["33410731"], ["33410731"]], + params: [[MARKET_HAY], ["33677478"], ["33677478"]], }, { target: SD_REWARDS_DISTRIBUTOR, signature: "setLastRewardingBlocks(address[],uint32[],uint32[])", - params: [[MARKET_BNBx], ["33410731"], ["33410731"]], + params: [[MARKET_BNBx], ["33735078"], ["33735078"]], }, ], meta, diff --git a/vips/vip-169/vip-169.ts b/vips/vip-169/vip-169.ts index 912c8a55b..e095e50e3 100644 --- a/vips/vip-169/vip-169.ts +++ b/vips/vip-169/vip-169.ts @@ -21,12 +21,12 @@ export const vip169 = () => { { target: HAY_REWARDS_DISTRIBUTOR, signature: "setLastRewardingBlocks(address[],uint32[],uint32[])", - params: [[MARKET_HAY], ["32713205"], ["32713205"]], + params: [[MARKET_HAY], ["32200789"], ["32200789"]], }, { target: SD_REWARDS_DISTRIBUTOR, signature: "setLastRewardingBlocks(address[],uint32[],uint32[])", - params: [[MARKET_BNBx], ["32713205"], ["32713205"]], + params: [[MARKET_BNBx], ["32258389"], ["32258389"]], }, ], meta,