makerdao / spells-mainnet

Staging repo for MakerDAO weekly executive spells
GNU Affero General Public License v3.0
107 stars 43 forks source link

Mainnet spell 2024-03-06 #397

Closed 0xdecr1pto closed 4 months ago

0xdecr1pto commented 4 months ago

Description

Contribution Checklist

Checklist

SidestreamColdMelon commented 4 months ago

There is actually a rule in the crafters checklist (which is missing from the reviewers checklist) on how to name the PR. Therefore, please rename it to Mainnet spell 2024-03-06 🙂

oddaf commented 4 months ago

Good to deploy:

Mainnet Executive Spell Review Checklist

Development Stage

_Insert your local test logs here_
odd@Workstation spells-mainnet % make test
./scripts/test-dssspell-forge.sh no-match="" match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠆] Compiling...
No files changed, compilation skipped

Ran 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 3019007)
[PASS] testStarknetSpell() (gas: 2324)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 24.68s (22.47s CPU time)

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 2876161)
[PASS] testCastOnTime() (gas: 2873079)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 11159291)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11139)
[PASS] testDAIPayments() (gas: 2944103)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 2482005)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 29202813)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 2996438)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446546)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 496278)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 4170221)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17507)
[PASS] testSparkSpellIsExecuted() (gas: 2878996)
[PASS] testUseEta() (gas: 352652)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 14 passed; 0 failed; 19 skipped; finished in 281.04s (592.66s CPU time)

Ran 2 test suites in 281.62s (305.71s CPU time): 16 tests passed, 0 failed, 19 skipped (35 total tests)
amusingaxl commented 4 months ago

finished in 281.04s

Oh man, this feels so good 🐸

SidestreamColdMelon commented 4 months ago

TLDR: good to deploy

Development Stage

_Insert your local test logs here_
./scripts/test-dssspell-forge.sh no-match="" match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠢] Compiling...
No files changed, compilation skipped

Ran 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 3019063)
[PASS] testStarknetSpell() (gas: 2324)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 35.08s (31.61s CPU time)

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 2876217)
[PASS] testCastOnTime() (gas: 2873135)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 11159347)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11139)
[PASS] testDAIPayments() (gas: 2944859)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 2482005)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 29202869)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 2996494)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446546)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 495577)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 4170277)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17507)
[PASS] testSparkSpellIsExecuted() (gas: 2879052)
[PASS] testUseEta() (gas: 352652)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 14 passed; 0 failed; 19 skipped; finished in 358.74s (801.63s CPU time)

Ran 2 test suites in 359.30s (393.82s CPU time): 16 tests passed, 0 failed, 19 skipped (35 total tests)
0xdecr1pto commented 4 months ago

Tenderly simulation: https://dashboard.tenderly.co/explorer/vnet/c95800ae-2e77-442c-bace-2368cc3473e3/transactions

oddaf commented 4 months ago

Good to handover:

Deployed Stage

_Insert your local test logs here_
odd@Workstation spells-mainnet % make test
./scripts/test-dssspell-forge.sh no-match="" match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠆] Compiling...
No files changed, compilation skipped

Ran 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 3019007)
[PASS] testStarknetSpell() (gas: 2324)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 24.35s (22.74s CPU time)

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2496960)
[PASS] testCastCost() (gas: 2876161)
[PASS] testCastOnTime() (gas: 2873079)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 11159291)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[PASS] testDAIPayments() (gas: 2944218)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 29204910)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 2996438)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446546)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 496171)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 4170221)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17507)
[PASS] testSparkSpellIsExecuted() (gas: 2878996)
[PASS] testUseEta() (gas: 352652)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 13 passed; 0 failed; 20 skipped; finished in 281.03s (594.44s CPU time)

Ran 2 test suites in 281.66s (305.37s CPU time): 15 tests passed, 0 failed, 20 skipped (35 total tests)
SidestreamColdMelon commented 4 months ago

TLDR: good to handover

Deployed Stage

_Insert your local test logs here_
./scripts/test-dssspell-forge.sh no-match="" match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠒] Compiling...
[⠒] Compiling 4 files with 0.8.16
[⠘] Solc 0.8.16 finished in 2.07s
Compiler run successful!

Ran 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 3019007)
[PASS] testStarknetSpell() (gas: 2324)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 31.94s (29.01s CPU time)

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2496960)
[PASS] testCastCost() (gas: 2876161)
[PASS] testCastOnTime() (gas: 2873079)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 11159291)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[PASS] testDAIPayments() (gas: 2944218)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 29204910)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 2996438)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446546)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 496171)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 4170221)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17507)
[PASS] testSparkSpellIsExecuted() (gas: 2878996)
[PASS] testUseEta() (gas: 352652)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 13 passed; 0 failed; 20 skipped; finished in 353.49s (798.36s CPU time)

Ran 2 test suites in 354.35s (385.44s CPU time): 15 tests passed, 0 failed, 20 skipped (35 total tests)