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-01 #369

Closed SidestreamSweatyPumpkin closed 8 months ago

SidestreamSweatyPumpkin commented 8 months ago

Description

Contribution Checklist

Checklist

SidestreamColdMelon commented 8 months ago

TLDR: ready to deploy after two nits from above are addressed

Mainnet 2023-11-01

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

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

Running 21 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106283535)
[PASS] testAuthInSources() (gas: 9223371487099524853)
[PASS] testBytecodeMatches() (gas: 1778782)
[PASS] testCastCost() (gas: 860503)
[PASS] testChainlogValues() (gas: 9791059)
[PASS] testChainlogVersionBump() (gas: 3494415)
[PASS] testContractSize() (gas: 8984)
[PASS] testDeployCost() (gas: 1766070)
[PASS] testEsmAuth() (gas: 875495)
[PASS] testFailNotScheduled() (gas: 14375)
[PASS] testFailTooEarly() (gas: 13607)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13607)
[PASS] testGeneral() (gas: 35793958)
[PASS] testMKRPayments() (gas: 877486)
[PASS] testNewChainlogValues() (gas: 925619)
[PASS] testNextCastTime() (gas: 353659)
[PASS] testOnTime() (gas: 856165)
[PASS] testPSMs() (gas: 2204183)
[PASS] testPayments() (gas: 928311)
[PASS] testUseEta() (gas: 352346)
Test result: ok. 21 passed; 0 failed; 0 skipped; finished in 962.98s

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

@0xp3th1um regarding your review. You've crossed out this section:

  • [ ] Deployed Contracts (not yet on chainlog or new to chainlog)

But it's actually applicable to this spell: we have contracts that are "new to chainlog" and the reviewer need to follow those checks for each of the new contracts.

SidestreamColdMelon commented 8 months ago

✅ requested changes are applied ✅ no other content is changed since last review ✅ CI tests pass on 374473f ✅ local tests pass

./scripts/test-dssspell-forge.sh no-match="" match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠃] Compiling...
[⠊] Compiling 6 files with 0.8.16
[⠒] Solc 0.8.16 finished in 2.09s
Compiler run successful!

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

Running 21 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106283535)
[PASS] testAuthInSources() (gas: 9223371487099524853)
[PASS] testBytecodeMatches() (gas: 1778782)
[PASS] testCastCost() (gas: 860503)
[PASS] testChainlogValues() (gas: 9791059)
[PASS] testChainlogVersionBump() (gas: 3494415)
[PASS] testContractSize() (gas: 8984)
[PASS] testDeployCost() (gas: 1766070)
[PASS] testEsmAuth() (gas: 875495)
[PASS] testFailNotScheduled() (gas: 14375)
[PASS] testFailTooEarly() (gas: 13607)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13607)
[PASS] testGeneral() (gas: 35793958)
[PASS] testMKRPayments() (gas: 877486)
[PASS] testNewChainlogValues() (gas: 925619)
[PASS] testNextCastTime() (gas: 353659)
[PASS] testOnTime() (gas: 856165)
[PASS] testPSMs() (gas: 2204183)
[PASS] testPayments() (gas: 928656)
[PASS] testUseEta() (gas: 352346)
Test result: ok. 21 passed; 0 failed; 0 skipped; finished in 968.63s

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

Good to deploy from my side 👍

0xp3th1um commented 8 months ago

Ready to deploy!

SidestreamSweatyPumpkin commented 8 months ago

deployed at

https://etherscan.io/address/0x77583dc3D6192D55eF642060e82Af1D7A34BC142#code

SidestreamColdMelon commented 8 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 4 files with 0.8.16
[⠒] Solc 0.8.16 finished in 1.85s
Compiler run successful!

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

Running 21 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106283535)
[PASS] testAuthInSources() (gas: 9223371487099524853)
[PASS] testBytecodeMatches() (gas: 1778782)
[PASS] testCastCost() (gas: 860503)
[PASS] testChainlogValues() (gas: 9791059)
[PASS] testChainlogVersionBump() (gas: 3494415)
[PASS] testContractSize() (gas: 8984)
[PASS] testDeployCost() (gas: 1766070)
[PASS] testEsmAuth() (gas: 875495)
[PASS] testFailNotScheduled() (gas: 14375)
[PASS] testFailTooEarly() (gas: 13607)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13607)
[PASS] testGeneral() (gas: 35796055)
[PASS] testMKRPayments() (gas: 877486)
[PASS] testNewChainlogValues() (gas: 925619)
[PASS] testNextCastTime() (gas: 353659)
[PASS] testOnTime() (gas: 856165)
[PASS] testPSMs() (gas: 2204183)
[PASS] testPayments() (gas: 928541)
[PASS] testUseEta() (gas: 352346)
Test result: ok. 21 passed; 0 failed; 0 skipped; finished in 955.21s

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

Good to handover!

Deployed 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: 1012566)
[PASS] testStarknetSpell() (gas: 2346)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 33.32s

Running 21 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487106283535)
[PASS] testAuthInSources() (gas: 9223371487099524853)
[PASS] testBytecodeMatches() (gas: 1778782)
[PASS] testCastCost() (gas: 860503)
[PASS] testChainlogValues() (gas: 9791059)
[PASS] testChainlogVersionBump() (gas: 3494415)
[PASS] testContractSize() (gas: 8984)
[PASS] testDeployCost() (gas: 1766070)
[PASS] testEsmAuth() (gas: 875495)
[PASS] testFailNotScheduled() (gas: 14375)
[PASS] testFailTooEarly() (gas: 13607)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13607)
[PASS] testGeneral() (gas: 35796055)
[PASS] testMKRPayments() (gas: 877486)
[PASS] testNewChainlogValues() (gas: 925619)
[PASS] testNextCastTime() (gas: 353659)
[PASS] testOnTime() (gas: 856165)
[PASS] testPSMs() (gas: 2216245)
[PASS] testPayments() (gas: 928656)
[PASS] testUseEta() (gas: 352346)
Test result: ok. 21 passed; 0 failed; 0 skipped; finished in 1439.58s

Ran 2 test suites: 23 tests passed, 0 failed, 0 skipped (23 total tests)
SidestreamSweatyPumpkin commented 8 months ago

Notified the public.