Closed amusingaxl closed 1 year ago
Requesting addition of subdao spell deployer address (in the form of a comment is fine, as I understand that this increases test time significantly).
Replication of this change
This spell (as well as the Goerli spell at the stage when I reviewed it) is very clean and well structured. Well done with this one @amusingaxl
archive happened before deploy info was added so there's a mismatch now.
archive happened before deploy info was added so there's a mismatch now.
My bad! It's fixed now.
make diff-deployed-spell
)
among many lines of the deployed spell i did not discover anything maliciousmake check-deployed-spell
DssExecLib.address
file
matches
DssExecLib.sol
file (e.g. look under the 'Files Changed' PR tab, etc.)
not changeddeployed_spell_created
matches deployment timestampdeployed_spell_block
matches deployment block numbermake deploy-info tx=<tx>
matches configdeployed_spell_created
timestampdeployed_spell_block
block numberLibraries Used
matches DssExecLib Latest Releasesrc
make diff-archive-spell
for current date or or date="YYYY-MM-DD" make diff-archive-spell
(date as per target exec date)./scripts/test-dssspell-forge.sh match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠢] Compiling...
[⠘] Compiling 104 files with 0.8.16
[⠃] Solc 0.8.16 finished in 3.69s
Compiler run successful
Running 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 1771772)
[PASS] testStarknetSpell() (gas: 2346)
Test result: ok. 2 passed; 0 failed; finished in 42.46s
Running 22 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487105707415)
[PASS] testAuthInSources() (gas: 9223371487099495064)
[PASS] testBytecodeMatches() (gas: 2468218)
[PASS] testCastCost() (gas: 1619621)
[PASS] testChainlogValues() (gas: 10460141)
[PASS] testChainlogVersionBump() (gas: 5236407)
[PASS] testContractSize() (gas: 9006)
[PASS] testDeployCost() (gas: 2453602)
[PASS] testFailNotScheduled() (gas: 14375)
[PASS] testFailTooEarly() (gas: 13542)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13607)
[PASS] testGeneral() (gas: 37270621)
[PASS] testMKRPayments() (gas: 1705603)
[PASS] testNextCastTime() (gas: 353637)
[PASS] testOnTime() (gas: 1615371)
[PASS] testPSMs() (gas: 2976957)
[PASS] testPayments() (gas: 1654922)
[PASS] testRWA002DocChange() (gas: 1682156)
[PASS] testRWA004OracleTell() (gas: 1632200)
[PASS] testSparkSpellIsExecuted() (gas: 1618907)
[PASS] testUseEta() (gas: 352346)
Test result: ok. 22 passed; 0 failed; finished in 1008.59s
Approved, can merge
Description
Contribution Checklist
Checklist
officeHours
modifier override30 days
unless otherwise specified)ETH_GAS_LIMIT="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