Skip to content

Commit

Permalink
Merge branch 'reseed-final-fixes' into beanstalk3-ui-sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
Space-Bean authored Sep 17, 2024
2 parents 04927f7 + 36e9bb3 commit fde66f7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions protocol/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ task("sunriseArb", async function () {
const unixTime = await time.latest();
const currentTime = new Date(unixTime * 1000).toLocaleString();

// make a few seconds pass to avoid pump NoTimePassed() error for twa reserves right after the sunrise.
const afterSunriseTimestamp = (await ethers.provider.getBlock("latest")).timestamp;
const additionalSeconds = 12;
await network.provider.send("evm_setNextBlockTimestamp", [afterSunriseTimestamp + additionalSeconds]);
await network.provider.send("evm_mine");

console.log(
"sunrise complete!\ncurrent season:",
await seasonGetters.season(),
Expand Down
22 changes: 11 additions & 11 deletions protocol/reseed/data/mocks/r9-whitelist-mock.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,27 @@
["0x0000000000000000000000000000000000000000", "0x00000000", "0x00", "0x00"]
],
[
"0xBEA00A3F7aaF99476862533Fe7DcA4b50f6158cB",
"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
"0xBEA0093f626Ce32dd6dA19617ba4e7aA0c3228e8",
"0x5979D7b546E38E414F7E9822514be443A4800529",
[
"0xc84c7727",
"0x1",
"0x568abd",
"0x2540be400",
"0x5fbc",
"0x8af1715d3",
"0x1865a996e",
"0x01",
"0x0",
"160000000000000000000",
"16000000",
"260000000000000000000",
"26000000",
["0x0000000000000000000000000000000000000000", "0xe4b8d822", "0x00", "0x00"],
["0x0000000000000000000000000000000000000000", "0x2c5fa218", "0x00", "0x00"]
],
["0xBEA00A3F7aaF99476862533Fe7DcA4b50f6158cB", true, true, true, true],
["0xBEA0093f626Ce32dd6dA19617ba4e7aA0c3228e8", true, true, true, true],
[
"0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612",
"0x00000000",
"0x01",
"0x000000000000000000000000000000000000000000000000000000000001fa40"
"0x74749a1c8b2faa03c7259F90919628b1241A2ea5",
"0xb0dd7409",
"0x00",
"0x000000000000000000000000639fe6ab55c921f74e7fac1ee960c0b6293ba6120000000000000000000000000000000000000000000000000000000000003840000000000000000000000000e141425bc1594b8039de6390db1cdaf4397ea22b000000000000000000000000000000000000000000000000000000000001fa4000000000000000000000000035751007a407ca6feffe80b3cb397736d2cf4dbe"
]
]
]

0 comments on commit fde66f7

Please sign in to comment.