Skip to content

Commit

Permalink
fix: updated block numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
web3rover committed Sep 14, 2023
1 parent 10ef3d5 commit cf85763
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions simulations/vip-169/vip-169-testnet/simulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
});
Expand Down
8 changes: 4 additions & 4 deletions simulations/vip-169/vip-169/simulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});
});
Expand Down
4 changes: 2 additions & 2 deletions vips/vip-169/vip-169-testnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions vips/vip-169/vip-169.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cf85763

Please sign in to comment.