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-02-07 #390

Closed oddaf closed 9 months ago

oddaf commented 9 months ago

Description

This PR implements 2024-02-07 mainnet spell based on the relevant Exec Sheet.

Contribution Checklist

Checklist

DaiFoundation-DevOps commented 9 months ago

CLA assistant check
All committers have signed the CLA.

0xp3th1um commented 9 months ago

Good to deploy!

Mainnet Executive Spell Review Checklist

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 10.86s
Compiler run successful!

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

Running 19 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2541463)
[PASS] testCastCost() (gas: 936798)
[PASS] testChainlogIntegrity() (gas: 14418173)
[PASS] testChainlogValues() (gas: 9219916)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 1004947)
[PASS] testDeployCost() (gas: 2526689)
[PASS] testFailNotScheduled() (gas: 14353)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13606)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 27300783)
[PASS] testMKRPayments() (gas: 1025470)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 932548)
[PASS] testPSMs() (gas: 2250236)
[PASS] testPushGUSDOutInputConduit() (gas: 950105)
[PASS] testRWA009DocChange() (gas: 989590)
[PASS] testUseEta() (gas: 352324)
Test result: ok. 19 passed; 0 failed; 0 skipped; finished in 771.76s

Ran 2 test suites: 21 tests passed, 0 failed, 0 skipped (21 total tests)
SidestreamColdMelon commented 9 months ago

TLDR: good to deploy

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 0.8.16
[⠊] Solc 0.8.16 finished in 2.29s
Compiler run successful!

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

Running 19 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2541463)
[PASS] testCastCost() (gas: 936798)
[PASS] testChainlogIntegrity() (gas: 14418173)
[PASS] testChainlogValues() (gas: 9219916)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 1004832)
[PASS] testDeployCost() (gas: 2526689)
[PASS] testFailNotScheduled() (gas: 14353)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13606)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 27300783)
[PASS] testMKRPayments() (gas: 1025470)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 932548)
[PASS] testPSMs() (gas: 2250236)
[PASS] testPushGUSDOutInputConduit() (gas: 950105)
[PASS] testRWA009DocChange() (gas: 989590)
[PASS] testUseEta() (gas: 352324)
Test result: ok. 19 passed; 0 failed; 0 skipped; finished in 600.43s

Ran 2 test suites: 21 tests passed, 0 failed, 0 skipped (21 total tests)
0xp3th1um commented 9 months ago

Update: Good to deploy!

oddaf commented 9 months ago

Spell deployed to 0x0E9AB92e3Fad77eE35a5f702Ac56c48bAAB7B0eE.

Simulation of cast on Tenderly: https://dashboard.tenderly.co/explorer/fork/simulation/ce71a0da-27e7-47a7-b71b-9d425cfe2ba9

Tenderly testnet with cast spell: https://dashboard.tenderly.co/explorer/vnet/3d8d03a3-4017-4e79-afa3-a5dac29da97c/transactions

SidestreamColdMelon commented 9 months ago

TLDR: 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...
No files changed, compilation skipped

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

Running 19 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2541463)
[PASS] testCastCost() (gas: 936798)
[PASS] testChainlogIntegrity() (gas: 14418173)
[PASS] testChainlogValues() (gas: 9219916)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 1004947)
[PASS] testDeployCost() (gas: 2526689)
[PASS] testFailNotScheduled() (gas: 14353)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13606)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 27302880)
[PASS] testMKRPayments() (gas: 1025470)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 932548)
[PASS] testPSMs() (gas: 2250236)
[PASS] testPushGUSDOutInputConduit() (gas: 950105)
[PASS] testRWA009DocChange() (gas: 989590)
[PASS] testUseEta() (gas: 352324)
Test result: ok. 19 passed; 0 failed; 0 skipped; finished in 577.44s

Ran 2 test suites: 21 tests passed, 0 failed, 0 skipped (21 total tests)
0xp3th1um commented 9 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 6.32s
Compiler run successful!

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

Running 19 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2541463)
[PASS] testCastCost() (gas: 936798)
[PASS] testChainlogIntegrity() (gas: 14418173)
[PASS] testChainlogValues() (gas: 9219916)
[PASS] testContractSize() (gas: 8940)
[PASS] testDAIPayments() (gas: 1004947)
[PASS] testDeployCost() (gas: 2526689)
[PASS] testFailNotScheduled() (gas: 14353)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13606)
[PASS] testFailWrongDay() (gas: 13585)
[PASS] testGeneral() (gas: 27302880)
[PASS] testMKRPayments() (gas: 1025470)
[PASS] testNextCastTime() (gas: 353681)
[PASS] testOnTime() (gas: 932548)
[PASS] testPSMs() (gas: 2250236)
[PASS] testPushGUSDOutInputConduit() (gas: 950105)
[PASS] testRWA009DocChange() (gas: 989590)
[PASS] testUseEta() (gas: 352324)
Test result: ok. 19 passed; 0 failed; 0 skipped; finished in 725.14s

Ran 2 test suites: 21 tests passed, 0 failed, 0 skipped (21 total tests)