Closed kmbarry1 closed 3 years ago
This is looking good to me. We probably want @godsflaw and @lucasvo to sign off on this.
dapp-test: rpc block: latest
Running 13 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testFail_notScheduled() (gas: 7737)
[PASS] test_auth_in_sources() (gas: 281473903796024)
[PASS] test_use_eta() (gas: 323351)
[PASS] testOnTime() (gas: 462933)
[PASS] test_nextCastTime() (gas: 325371)
[PASS] testFailTooEarly() (gas: 10357)
[PASS] test_bytecode_matches() (gas: 935689)
[PASS] test_auth() (gas: 281473907231238)
[PASS] testSpellIsCast_GENERAL() (gas: 7494438)
[PASS] testFailWrongDay() (gas: 10489)
[PASS] testCastCost() (gas: 468525)
[PASS] test_RWA002_values() (gas: 482936)
[PASS] testFailTooLate() (gas: 10643)
Btw Lucas reviewed and told me it looked good to him.
I'm trying to get the extra test Tal suggested to work (confirming that a draw is possible). Fighting with rounding error at the moment but once that works I'll deploy.
Tests passing at d0ec4b68fdb83fa0af23c638a0e5446f8e27ad92
dapp-test: rpc block: latest
Running 13 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testFail_notScheduled() (gas: 12237)
[PASS] test_auth_in_sources() (gas: 281473903958410)
[PASS] test_use_eta() (gas: 325251)
[PASS] testOnTime() (gas: 453033)
[PASS] test_nextCastTime() (gas: 326071)
[PASS] testFailTooEarly() (gas: 8457)
[PASS] test_bytecode_matches() (gas: 933589)
[PASS] test_auth() (gas: 281473906414558)
[PASS] testSpellIsCast_GENERAL() (gas: 6650923)
[PASS] testFailWrongDay() (gas: 8589)
[PASS] testCastCost() (gas: 454625)
[PASS] test_RWA002_values() (gas: 616662)
[PASS] testFailTooLate() (gas: 8743)
Running 13 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testFail_notScheduled() (gas: 12237)
[PASS] test_auth_in_sources() (gas: 281473903958410)
[PASS] test_use_eta() (gas: 325251)
[PASS] testOnTime() (gas: 453033)
[PASS] test_nextCastTime() (gas: 326071)
[PASS] testFailTooEarly() (gas: 8457)
[PASS] test_bytecode_matches() (gas: 933589)
[PASS] test_auth() (gas: 281473906414558)
[PASS] testSpellIsCast_GENERAL() (gas: 6650923)
[PASS] testFailWrongDay() (gas: 8589)
[PASS] testCastCost() (gas: 454625)
[PASS] test_RWA002_values() (gas: 616662)
[PASS] testFailTooLate() (gas: 8743)
Archived. Ready for final approvals before merge (can wait until Monday).
Description
Contribution Checklist
(PE-<TICKET_NUMBER>)
Checklist
officeHours
modifier4 days
monthly and30 days
for the rest)ETH_GAS="XXX" ETH_GAS_PRICE="YYY" make deploy
mainnet
contract on etherscanDssSpell.sol
andDssSpell.t.sol
the same, but make a copy inarchive
squash and merge
this PR