Closed hexonaut closed 2 years ago
This is ready for review except for hash.
Ok this is ready for final review for deploy.
Unless we want to wait for goerli manual testing this LGTM to publish and archive.
Spell verified, license ok, compiler and flags ok, code matches repo, correct execlib address used. tests pass:
Running 1 test for src/test/starknet.t.sol:StarknetTests [PASS] testStarknet() (gas: 2888546) Test result: ok. 1 passed; 0 failed; finished in 11.56s
Running 19 tests for src/DssSpell.t.sol:DssSpellTest [PASS] testCastCost() (gas: 2682535) [PASS] testCureTeleport() (gas: 4432575) [PASS] testFailTooEarly() (gas: 411191) [PASS] testFailTooLate() (gas: 411336) [PASS] testFailWrongDay() (gas: 411222) [PASS] testFail_notScheduled() (gas: 14147) [PASS] testNewChainlogValues() (gas: 2849386) [PASS] testNewIlkRegistryValues() (gas: 2706013) [PASS] testOnTime() (gas: 2678749) [PASS] testRWA009_SPELL_DRAW() (gas: 2702842) [PASS] testSpellIsCast_GENERAL() (gas: 32758648) [PASS] testTeleportFW() (gas: 4707111) [PASS] test_auth() (gas: 9223336852500860092) [PASS] test_auth_in_sources() (gas: 9223336852485195825) [PASS] test_bytecode_matches() (gas: 3846848) [PASS] test_chainlog_values() (gas: 8517564) [PASS] test_chainlog_version_bump() (gas: 4759365) [PASS] test_nextCastTime() (gas: 420135) [PASS] test_use_eta() (gas: 347239) Test result: ok. 19 passed; 0 failed; finished in 37.49s
Archive matches. Good to merge.
Description
PLEASE NOTE THE TESTS ONLY WORK IN FOUNDRY / FORGE.
Contribution Checklist
(PE-<TICKET_NUMBER>)
Checklist
officeHours
modifier override30 days
unless otherwise specified)ETH_GAS="XXX" ETH_GAS_PRICE="YYY" make deploy
mainnet
contract on etherscanmake archive-spell
ormake date="YYYY-MM-DD" archive-spell
to make an archive directory and copyDssSpell.sol
,DssSpell.t.sol
,DssSpell.t.base.sol
, andDssSpellCollateralOnboarding.sol
squash and merge
this PR