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 2023-11-29 #372

Closed SidestreamColdMelon closed 7 months ago

SidestreamColdMelon commented 7 months ago

Description

This PR implements upcoming 2023-11-29 mainnet spell based on the executive sheet provided by governance facilitators.

Contribution Checklist

Checklist

SidestreamSweatyPumpkin commented 7 months ago

Good to deploy

Mainnet Executive Spell Review Checklist

Mainnet 2023-11-29

Spell Actions (Per Exec Doc):

Development Stage

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

Running 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 1305220)
[PASS] testStarknetSpell() (gas: 2346)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 300.36s

Running 25 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106115444)
[PASS] testAuthInSources() (gas: 9223371487099356762)
[PASS] testBytecodeMatches() (gas: 2706555)
[PASS] testCastCost() (gas: 1153135)
[PASS] testChainlogValues() (gas: 10099735)
[PASS] testChainlogVersionBump() (gas: 4811968)
[PASS] testContractSize() (gas: 8962)
[PASS] testDAIPayments() (gas: 1221125)
[PASS] testDaoResolutions() (gas: 13047)
[PASS] testDeployCost() (gas: 2691327)
[PASS] testFailNotScheduled() (gas: 14442)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 36875198)
[PASS] testNextCastTime() (gas: 353637)
[PASS] testOnTime() (gas: 1148819)
[PASS] testPSMs() (gas: 2585454)
[PASS] testRWApriceBump() (gas: 1168652)
[PASS] testSparkSpellIsExecuted() (gas: 1152355)
[PASS] testUseEta() (gas: 352324)
[PASS] testVestDAI() (gas: 1251723)
[PASS] testVestMKR() (gas: 1242198)
[PASS] testYankDAI() (gas: 1174286)
[PASS] testYankMKR() (gas: 1267215)
Test result: ok. 25 passed; 0 failed; 0 skipped; finished in 939.41s

Ran 2 test suites: 27 tests passed, 0 failed, 0 skipped (27 total tests)
0xdecr1pto commented 7 months ago

Mainnet 2023-11-29

Spell Actions (Per Exec Doc):

Development Stage

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

Running 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 1305450)
[PASS] testStarknetSpell() (gas: 2346)
Test result: ok. 2 passed; 0 failed; finished in 41.68s

Running 25 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106115444)
[PASS] testAuthInSources() (gas: 9223371487099356762)
[PASS] testBytecodeMatches() (gas: 2706555)
[PASS] testCastCost() (gas: 1153365)
[PASS] testChainlogValues() (gas: 10099965)
[PASS] testChainlogVersionBump() (gas: 4812198)
[PASS] testContractSize() (gas: 8962)
[PASS] testDAIPayments() (gas: 1221815)
[PASS] testDaoResolutions() (gas: 13047)
[PASS] testDeployCost() (gas: 2691327)
[PASS] testFailNotScheduled() (gas: 14442)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 36875428)
[PASS] testNextCastTime() (gas: 353637)
[PASS] testOnTime() (gas: 1149049)
[PASS] testPSMs() (gas: 2585638)
[PASS] testRWApriceBump() (gas: 1168882)
[PASS] testSparkSpellIsExecuted() (gas: 1152585)
[PASS] testUseEta() (gas: 352324)
[PASS] testVestDAI() (gas: 1251953)
[PASS] testVestMKR() (gas: 1242428)
[PASS] testYankDAI() (gas: 1174516)
[PASS] testYankMKR() (gas: 1267445)
Test result: ok. 25 passed; 0 failed; finished in 954.93s
0xdecr1pto commented 7 months ago

Good to deploy!

SidestreamColdMelon commented 7 months ago

The spell was deployed to 0x4F09EbaA1A5e52EB95c97f3b9fa3fb398D004698

I've casted it on a regular tenderly fork and also tried new tenderly DevNet feature

0xdecr1pto commented 7 months ago

Deployed Stage

Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠒] Compiling...
[⠃] Compiling 4 files with 0.8.16
[⠑] Solc 0.8.16 finished in 4.24s
Compiler run successful

Running 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 1304875)
[PASS] testStarknetSpell() (gas: 2346)
Test result: ok. 2 passed; 0 failed; finished in 40.38s

Running 25 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106115444)
[PASS] testAuthInSources() (gas: 9223371487099356762)
[PASS] testBytecodeMatches() (gas: 2706555)
[PASS] testCastCost() (gas: 1152790)
[PASS] testChainlogValues() (gas: 10099390)
[PASS] testChainlogVersionBump() (gas: 4811623)
[PASS] testContractSize() (gas: 8962)
[PASS] testDAIPayments() (gas: 1220665)
[PASS] testDaoResolutions() (gas: 13047)
[PASS] testDeployCost() (gas: 2691327)
[PASS] testFailNotScheduled() (gas: 14442)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 36876950)
[PASS] testNextCastTime() (gas: 353637)
[PASS] testOnTime() (gas: 1148474)
[PASS] testPSMs() (gas: 2585178)
[PASS] testRWApriceBump() (gas: 1168307)
[PASS] testSparkSpellIsExecuted() (gas: 1152010)
[PASS] testUseEta() (gas: 352324)
[PASS] testVestDAI() (gas: 1251378)
[PASS] testVestMKR() (gas: 1241853)
[PASS] testYankDAI() (gas: 1173941)
[PASS] testYankMKR() (gas: 1266870)
Test result: ok. 25 passed; 0 failed; finished in 963.30s
0xdecr1pto commented 7 months ago

Good to handover

SidestreamSweatyPumpkin commented 7 months ago

Good to handover

Deployed Stage

./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 1.63s
Compiler run successful!

Running 2 tests for src/test/starknet.t.sol:StarknetTests
[PASS] testStarknet() (gas: 1305220)
[PASS] testStarknetSpell() (gas: 2346)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 30.66s

Running 25 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106115444)
[PASS] testAuthInSources() (gas: 9223371487099356762)
[PASS] testBytecodeMatches() (gas: 2706555)
[PASS] testCastCost() (gas: 1153135)
[PASS] testChainlogValues() (gas: 10099735)
[PASS] testChainlogVersionBump() (gas: 4811968)
[PASS] testContractSize() (gas: 8962)
[PASS] testDAIPayments() (gas: 1221355)
[PASS] testDaoResolutions() (gas: 13047)
[PASS] testDeployCost() (gas: 2691327)
[PASS] testFailNotScheduled() (gas: 14442)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 36877295)
[PASS] testNextCastTime() (gas: 353637)
[PASS] testOnTime() (gas: 1148819)
[PASS] testPSMs() (gas: 2585454)
[PASS] testRWApriceBump() (gas: 1168652)
[PASS] testSparkSpellIsExecuted() (gas: 1152355)
[PASS] testUseEta() (gas: 352324)
[PASS] testVestDAI() (gas: 1251723)
[PASS] testVestMKR() (gas: 1242198)
[PASS] testYankDAI() (gas: 1174286)
[PASS] testYankMKR() (gas: 1267215)
Test result: ok. 25 passed; 0 failed; 0 skipped; finished in 1031.81s

Ran 2 test suites: 27 tests passed, 0 failed, 0 skipped (27 total tests)
0xdecr1pto commented 7 months ago