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-04-22 #406

Closed SidestreamStrongStrawberry closed 7 months ago

SidestreamStrongStrawberry commented 7 months ago

Description

This PR implements 2024-04-22 mainnet spell based on the relevant Exec Sheet.

Contribution Checklist

Checklist

0xp3th1um commented 7 months ago

TLDR: 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 5 files with 0.8.16
[⠒] Solc 0.8.16 finished in 4.72s
Compiler run successful!

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

Ran 36 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 1670040)
[PASS] testCastOnTime() (gas: 1666914)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 10032678)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11184)
[PASS] testDAIPayments() (gas: 1707394)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 2934141)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 28598269)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 1814145)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 353818)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 13444)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2905978)
[PASS] testPushPAXOutInputConduit() (gas: 1686205)
[PASS] testRWA015NewBud() (gas: 1676549)
[PASS] testRWA015OutputConduitPushWithNewBud() (gas: 1876484)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17499)
[PASS] testSparkSpellIsExecuted() (gas: 1672853)
[PASS] testUseEta() (gas: 352506)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 17 passed; 0 failed; 19 skipped; finished in 402.80s (960.57s CPU time)

Ran 2 test suites in 403.92s (450.12s CPU time): 19 tests passed, 0 failed, 19 skipped (38 total tests)
SidestreamIcedMango commented 7 months ago

tldr: good to deploy :)

Mainnet Executive Spell Review Checklist

Development Stage

_Insert your local test logs here_
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠒] Compiling...
[⠒] Compiling 5 files with 0.8.16
[⠆] Solc 0.8.16 finished in 2.00s
Compiler run successful!

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

Ran 36 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 1669120)
[PASS] testCastOnTime() (gas: 1665994)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 10031758)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11184)
[PASS] testDAIPayments() (gas: 1706474)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 2934141)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 28597349)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 1813225)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 353818)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 13444)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2905058)
[PASS] testPushPAXOutInputConduit() (gas: 1685285)
[PASS] testRWA015NewBud() (gas: 1675629)
[PASS] testRWA015OutputConduitPushWithNewBud() (gas: 1875564)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17499)
[PASS] testSparkSpellIsExecuted() (gas: 1671933)
[PASS] testUseEta() (gas: 352506)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 17 passed; 0 failed; 19 skipped; finished in 385.03s (904.54s CPU time)

Ran 2 test suites in 385.82s (429.13s CPU time): 19 tests passed, 0 failed, 19 skipped (38 total tests)
SidestreamStrongStrawberry commented 7 months ago

Spell deployed at 0x65eEEfa08204b9717502398Abf37C52D91fb6693 Tenderly testnet: https://virtual.mainnet.rpc.tenderly.co/24965c9f-22c8-4569-8a3a-0c860064d3e2

SidestreamIcedMango commented 7 months ago

tldr: good to handover!

Deployed Stage

Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠢] Compiling...
[⠘] Compiling 5 files with 0.8.16
[⠃] Solc 0.8.16 finished in 3.59s
Compiler run successful!

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

Ran 36 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2950378)
[PASS] testCastCost() (gas: 1668200)
[PASS] testCastOnTime() (gas: 1665074)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 10030838)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[PASS] testDAIPayments() (gas: 1705554)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 28598526)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 1812305)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 353818)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 13444)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2904138)
[PASS] testPushPAXOutInputConduit() (gas: 1684365)
[PASS] testRWA015NewBud() (gas: 1674709)
[PASS] testRWA015OutputConduitPushWithNewBud() (gas: 1874644)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17499)
[PASS] testSparkSpellIsExecuted() (gas: 1671013)
[PASS] testUseEta() (gas: 352506)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 16 passed; 0 failed; 20 skipped; finished in 399.30s (961.99s CPU time)

Ran 2 test suites in 400.49s (447.60s CPU time): 18 tests passed, 0 failed, 20 skipped (38 total tests)
0xp3th1um commented 7 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 5 files with 0.8.16
[⠑] Solc 0.8.16 finished in 7.27s
Compiler run successful!

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

Ran 36 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2950378)
[PASS] testCastCost() (gas: 1670040)
[PASS] testCastOnTime() (gas: 1666914)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 10032678)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[PASS] testDAIPayments() (gas: 1707394)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 28600366)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[PASS] testMKRPayments() (gas: 1814145)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 353818)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 13444)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2905978)
[PASS] testPushPAXOutInputConduit() (gas: 1686205)
[PASS] testRWA015NewBud() (gas: 1676549)
[PASS] testRWA015OutputConduitPushWithNewBud() (gas: 1876484)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17499)
[PASS] testSparkSpellIsExecuted() (gas: 1672853)
[PASS] testUseEta() (gas: 352506)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[SKIP] testYankDAI() (gas: 0)
[SKIP] testYankMKR() (gas: 0)
Suite result: ok. 16 passed; 0 failed; 20 skipped; finished in 391.06s (865.00s CPU time)

Ran 2 test suites in 392.31s (436.58s CPU time): 18 tests passed, 0 failed, 20 skipped (38 total tests)
0xp3th1um commented 7 months ago

Handover and Merge Stage