makerdao / spells-mainnet

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

Mainnet spell 2024-06-27 #414

Closed oddaf closed 5 months ago

oddaf commented 5 months ago

Description

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

Contribution Checklist

Checklist

0xdecr1pto commented 5 months ago

Good to deploy

Development Stage

[⠆] Compiling...
[⠒] Compiling 19 files with 0.8.16
[⠘] Solc 0.8.16 finished in 4.23s
Compiler run successful!

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

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 644808)
[PASS] testCastOnTime() (gas: 641726)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 9011446)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11139)
[PASS] testDAIPayments() (gas: 712990)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 1733804)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 26477701)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 661964)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 446546)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 495684)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2003602)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17507)
[PASS] testSparkSpellIsExecuted() (gas: 647643)
[PASS] testUseEta() (gas: 352708)
[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 350.33s (737.98s CPU time)

Ran 2 test suites in 351.05s (370.43s CPU time): 16 tests passed, 0 failed, 19 skipped (35 total tests)

Pre-Deployment Stage

SidestreamIcedMango commented 5 months 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 4 files with Solc 0.8.16
[⠒] Solc 0.8.16 finished in 2.95s
Compiler run successful!

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

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 644735)
[PASS] testCastOnTime() (gas: 641653)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 9011373)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11139)
[PASS] testDAIPayments() (gas: 712850)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 1729556)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 26475401)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 661891)
[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: 2003544)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17507)
[PASS] testSparkSpellIsExecuted() (gas: 647570)
[PASS] testUseEta() (gas: 352708)
[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 486.98s (990.06s CPU time)

Ran 2 test suites in 489.34s (516.67s CPU time): 16 tests passed, 0 failed, 19 skipped (35 total tests)

Pre-Deployment Stage

oddaf commented 5 months ago

Spell deployed at: 0x7fbC867dE58D6e47E430eB257B50481F6E878f65 Tenderly testnet: https://dashboard.tenderly.co/explorer/vnet/ac5acfa2-f559-45df-8e04-897e53fc9c54

0xdecr1pto commented 5 months ago

Good to handover

Deployed Stage

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

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest [SKIP] testBytecodeMatches() (gas: 0) [PASS] testCastCost() (gas: 644808) [PASS] testCastOnTime() (gas: 641726) [SKIP] testChainlogIntegrity() (gas: 0) [PASS] testChainlogValues() (gas: 9011446) [SKIP] testCollateralIntegrations() (gas: 0) [PASS] testContractSize() (gas: 11139) [PASS] testDAIPayments() (gas: 712990) [SKIP] testDaoResolutions() (gas: 0) [PASS] testDeployCost() (gas: 1733804) [SKIP] testEsmAuth() (gas: 0) [PASS] testGeneral() (gas: 26477701) [SKIP] testIlkClipper() (gas: 0) [SKIP] testL2ArbitrumSpell() (gas: 0) [SKIP] testL2OptimismSpell() (gas: 0) [SKIP] testLerpSurplusBuffer() (gas: 0) [PASS] testMKRPayments() (gas: 661964) [SKIP] testMedianizers() (gas: 0) [SKIP] testNewIlkRegistryValues() (gas: 0) [PASS] testNextCastTime() (gas: 446546) [SKIP] testOSMs() (gas: 0) [SKIP] testOffboardings() (gas: 0) [PASS] testOfficeHours() (gas: 495684) [SKIP] testOracleList() (gas: 0) [PASS] testPSMs() (gas: 2003602) [SKIP] testRemoveChainlogValues() (gas: 0) [PASS] testRevertIfNotScheduled() (gas: 17507) [PASS] testSparkSpellIsExecuted() (gas: 647643) [PASS] testUseEta() (gas: 352708) [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 353.97s (746.61s CPU time)

Ran 2 test suites in 354.72s (373.59s CPU time): 16 tests passed, 0 failed, 19 skipped (35 total tests)

SidestreamIcedMango commented 5 months 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 4 files with Solc 0.8.16
[⠢] Solc 0.8.16 finished in 3.01s
Compiler run successful!

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

Ran 33 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 1742405)
[PASS] testCastCost() (gas: 644735)
[PASS] testCastOnTime() (gas: 641653)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 9011373)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[PASS] testDAIPayments() (gas: 712620)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 26477498)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 661891)
[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: 2003544)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17507)
[PASS] testSparkSpellIsExecuted() (gas: 647570)
[PASS] testUseEta() (gas: 352708)
[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 492.17s (1005.15s CPU time)

Ran 2 test suites in 493.83s (523.48s CPU time): 15 tests passed, 0 failed, 20 skipped (35 total tests)
SidestreamIcedMango commented 5 months ago

Handover and Merge Stage