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-06-13 #413

Closed SidestreamColdMelon closed 3 weeks ago

SidestreamColdMelon commented 3 weeks ago

Description

This PR implements the 2024-06-13 mainnet spell based on the relevant exec sheet

Contribution Checklist

Checklist

SidestreamIcedMango commented 3 weeks ago

good to deploy :)

Mainnet Executive Spell Review Checklist

Development Stage

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

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

Ran 35 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 4466477)
[PASS] testCastOnTime() (gas: 4463264)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 12833115)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11161)
[PASS] testDAIPayments() (gas: 4534344)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 2723878)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 31285082)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 4634366)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446524)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 496300)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 5702437)
[PASS] testPushPAXOutInputConduit() (gas: 4482675)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17618)
[PASS] testSparkSpellIsExecuted() (gas: 4469268)
[PASS] testStarknetDaiBridgeClose() (gas: 4468701)
[PASS] testUseEta() (gas: 352730)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 16 passed; 0 failed; 19 skipped; finished in 465.61s (1013.73s CPU time)

Ran 2 test suites in 466.59s (518.13s CPU time): 18 tests passed, 0 failed, 19 skipped (37 total tests)

Pre-Deployment Stage

0xdecr1pto commented 3 weeks ago

Good to deploy

Development Stage

./scripts/test-dssspell-forge.sh no-match="" match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠆] Compiling...
[⠘] Compiling 110 files with 0.8.16
[⠒] Solc 0.8.16 finished in 4.51s
Compiler run successful!

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

Ran 35 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 4466477)
[PASS] testCastOnTime() (gas: 4463264)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 12833115)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11161)
[PASS] testDAIPayments() (gas: 4534574)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 2723878)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 31285082)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 4634366)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446524)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 496300)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 5702437)
[PASS] testPushPAXOutInputConduit() (gas: 4482675)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17618)
[PASS] testSparkSpellIsExecuted() (gas: 4469268)
[PASS] testStarknetDaiBridgeClose() (gas: 4468701)
[PASS] testUseEta() (gas: 352730)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 16 passed; 0 failed; 19 skipped; finished in 460.89s (1115.55s CPU time)

Ran 2 test suites in 461.65s (505.59s CPU time): 18 tests passed, 0 failed, 19 skipped (37 total tests)

Pre-Deployment Stage

SidestreamColdMelon commented 3 weeks ago

The spell is deployed to https://etherscan.io/address/0x622Ad624491a01a2a6beAD916C3Ca3B90BcA0854#code Tenderly testnet with casted spell: https://dashboard.tenderly.co/explorer/vnet/0cf91a10-2613-4f68-a881-e578454d743a

0xdecr1pto commented 3 weeks ago

Good to handover

Deployed Stage

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

Ran 35 tests for src/DssSpell.t.sol:DssSpellTest [PASS] testBytecodeMatches() (gas: 2739477) [PASS] testCastCost() (gas: 4466477) [PASS] testCastOnTime() (gas: 4463264) [SKIP] testChainlogIntegrity() (gas: 0) [PASS] testChainlogValues() (gas: 12833115) [SKIP] testCollateralIntegrations() (gas: 0) [SKIP] testContractSize() (gas: 0) [PASS] testDAIPayments() (gas: 4534344) [SKIP] testDaoResolutions() (gas: 0) [SKIP] testDeployCost() (gas: 0) [SKIP] testEsmAuth() (gas: 0) [PASS] testGeneral() (gas: 31287179) [SKIP] testIlkClipper() (gas: 0) [SKIP] testL2ArbitrumSpell() (gas: 0) [SKIP] testL2OptimismSpell() (gas: 0) [SKIP] testLerpSurplusBuffer() (gas: 0) [PASS] testMKRPayments() (gas: 4634366) [SKIP] testMedianizers() (gas: 0) [SKIP] testNewIlkRegistryValues() (gas: 0) [PASS] testNextCastTime() (gas: 446524) [SKIP] testOSMs() (gas: 0) [SKIP] testOffboardings() (gas: 0) [PASS] testOfficeHours() (gas: 496300) [SKIP] testOracleList() (gas: 0) [PASS] testPSMs() (gas: 5702437) [PASS] testPushPAXOutInputConduit() (gas: 4482675) [SKIP] testRemoveChainlogValues() (gas: 0) [PASS] testRevertIfNotScheduled() (gas: 17618) [PASS] testSparkSpellIsExecuted() (gas: 4469268) [PASS] testStarknetDaiBridgeClose() (gas: 4468701) [PASS] testUseEta() (gas: 352730) [SKIP] testVestDAI() (gas: 0) [SKIP] testVestMKR() (gas: 0) [SKIP] testYankDAI() (gas: 0) [SKIP] testYankMKR() (gas: 0) Suite result: ok. 15 passed; 0 failed; 20 skipped; finished in 551.96s (1366.08s CPU time)

SidestreamIcedMango commented 3 weeks ago

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 5 files with Solc 0.8.16
[⠢] Solc 0.8.16 finished in 3.02s
Compiler run successful!

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

Ran 35 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2739477)
[PASS] testCastCost() (gas: 4466477)
[PASS] testCastOnTime() (gas: 4463264)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 12833115)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[PASS] testDAIPayments() (gas: 4534229)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 31287179)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 4634366)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446524)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 496300)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 5702437)
[PASS] testPushPAXOutInputConduit() (gas: 4482675)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17618)
[PASS] testSparkSpellIsExecuted() (gas: 4469268)
[PASS] testStarknetDaiBridgeClose() (gas: 4468701)
[PASS] testUseEta() (gas: 352730)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 15 passed; 0 failed; 20 skipped; finished in 587.81s (1445.87s CPU time)

Ran 2 test suites in 588.89s (659.35s CPU time): 17 tests passed, 0 failed, 20 skipped (37 total tests)
0xdecr1pto commented 3 weeks ago

Handover and Merge Stage

SidestreamIcedMango commented 3 weeks ago

Handover and Merge Stage