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-01-12 #380

Closed 0xp3th1um closed 5 months ago

0xp3th1um commented 5 months ago

Description

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

Contribution Checklist

Checklist

DaiFoundation-DevOps commented 5 months ago

CLA assistant check
All committers have signed the CLA.

0xdecr1pto commented 5 months ago

Mainnet Executive Spell Review Checklist

Mainnet 2023-01-12

Spell Actions (Per Exec Doc):

November Delegate Compensation

December Delegate Compensation

Offboarded Delegate Buffer Payments

yank Dai streams

CU MKR payments

Launch Project Funding

Update doc parameter

Spark D3M line increase

Trigger Spark Proxy Spell

Development Stage

Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠒] Compiling...
[⠔] Compiling 5 files with 0.8.16
[⠔] Solc 0.8.16 finished in 3.93s
Compiler run successful

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

Running 23 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106603378)
[PASS] testAuthInSources() (gas: 9223371487099505732)
[PASS] testBytecodeMatches() (gas: 3161381)
[PASS] testCastCost() (gas: 2068872)
[PASS] testChainlogValues() (gas: 11019450)
[PASS] testChainlogVersionBump() (gas: 5731705)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 2136840)
[PASS] testDeployCost() (gas: 3144884)
[PASS] testFailNotScheduled() (gas: 14398)
[PASS] testFailTooEarly() (gas: 13563)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13563)
[PASS] testGeneral() (gas: 38336203)
[PASS] testMKRPayments() (gas: 2196142)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 2064556)
[PASS] testPSMs() (gas: 3412401)
[PASS] testRWA009DocChange() (gas: 2131319)
[PASS] testSparkSpellIsExecuted() (gas: 2068092)
[PASS] testUseEta() (gas: 352302)
[PASS] testYankDAI() (gas: 2081989)
[PASS] testYankDAILegacy() (gas: 2081956)
Test result: ok. 23 passed; 0 failed; finished in 1043.40s
SidestreamColdMelon commented 5 months ago

TLDR: good to deploy

Mainnet 2024-01-12

Spell Actions (Per Exec Doc):

Development Stage

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

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

Running 23 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106563578)
[PASS] testAuthInSources() (gas: 9223371487099465932)
[PASS] testBytecodeMatches() (gas: 3173863)
[PASS] testCastCost() (gas: 2154971)
[PASS] testChainlogValues() (gas: 11105549)
[PASS] testChainlogVersionBump() (gas: 5817804)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 2223169)
[PASS] testDeployCost() (gas: 3157330)
[PASS] testFailNotScheduled() (gas: 14398)
[PASS] testFailTooEarly() (gas: 13563)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13563)
[PASS] testGeneral() (gas: 38436619)
[PASS] testMKRPayments() (gas: 2282241)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 2150655)
[PASS] testPSMs() (gas: 3498500)
[PASS] testRWA009DocChange() (gas: 2217418)
[PASS] testSparkSpellIsExecuted() (gas: 2154191)
[PASS] testUseEta() (gas: 352302)
[PASS] testYankDAI() (gas: 2168088)
[PASS] testYankDAILegacy() (gas: 2168055)
Test result: ok. 23 passed; 0 failed; 0 skipped; finished in 2211.97s

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

Good to deploy

0xdecr1pto commented 5 months ago

Good to handover

Deployed Stage

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

Running 23 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106563578)
[PASS] testAuthInSources() (gas: 9223371487099465932)
[PASS] testBytecodeMatches() (gas: 3173863)
[PASS] testCastCost() (gas: 2154971)
[PASS] testChainlogValues() (gas: 11105549)
[PASS] testChainlogVersionBump() (gas: 5817804)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 2222939)
[PASS] testDeployCost() (gas: 3157330)
[PASS] testFailNotScheduled() (gas: 14398)
[PASS] testFailTooEarly() (gas: 13563)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13563)
[PASS] testGeneral() (gas: 38438716)
[PASS] testMKRPayments() (gas: 2282241)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 2150655)
[PASS] testPSMs() (gas: 3498500)
[PASS] testRWA009DocChange() (gas: 2217418)
[PASS] testSparkSpellIsExecuted() (gas: 2154191)
[PASS] testUseEta() (gas: 352302)
[PASS] testYankDAI() (gas: 2168088)
[PASS] testYankDAILegacy() (gas: 2168055)
Test result: ok. 23 passed; 0 failed; finished in 1019.07s
SidestreamColdMelon commented 5 months ago

TLDR: good to handover

Deployed Stage

_Insert your passing local tests 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 2.03sCompiler run successful!
[⠆] Solc 0.8.16 finished in 2.03s

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

Running 23 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106563578)
[PASS] testAuthInSources() (gas: 9223371487099465932)
[PASS] testBytecodeMatches() (gas: 3173863)
[PASS] testCastCost() (gas: 2154971)
[PASS] testChainlogValues() (gas: 11105549)
[PASS] testChainlogVersionBump() (gas: 5817804)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 2223054)
[PASS] testDeployCost() (gas: 3157330)
[PASS] testFailNotScheduled() (gas: 14398)
[PASS] testFailTooEarly() (gas: 13563)
[PASS] testFailTooLate() (gas: 13562)
[PASS] testFailWrongDay() (gas: 13563)
[PASS] testGeneral() (gas: 38438716)
[PASS] testMKRPayments() (gas: 2282241)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 2150655)
[PASS] testPSMs() (gas: 3498500)
[PASS] testRWA009DocChange() (gas: 2217418)
[PASS] testSparkSpellIsExecuted() (gas: 2154191)
[PASS] testUseEta() (gas: 352302)
[PASS] testYankDAI() (gas: 2168088)
[PASS] testYankDAILegacy() (gas: 2168055)
Test result: ok. 23 passed; 0 failed; 0 skipped; finished in 1755.11s

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

Handover and Merge Stage

SidestreamColdMelon commented 5 months ago

FYI: execution of the spell on a tenderly fork (via cast-on-tenderly script): https://dashboard.tenderly.co/shared/fork/simulation/7f8c7f06-fcd2-4bfc-a5fc-c51228feccbf