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-22 #395

Closed SidestreamStrongStrawberry closed 9 months ago

SidestreamStrongStrawberry commented 9 months ago

Description

This PR implements 2024-02-22 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.

oddaf commented 9 months ago

Good to deploy.

Mainnet Executive Spell Review Checklist

Development Stage

    odd@Workstation spells-mainnet % make test
    ./scripts/test-dssspell-forge.sh no-match="" match="" block=""
    Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
    [⠰] Compiling...
    No files changed, compilation skipped

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

    Ran 35 tests for src/DssSpell.t.sol:DssSpellTest
    [SKIP] testBytecodeMatches() (gas: 0)
    [PASS] testCastCost() (gas: 1229396)
    [PASS] testCastOnTime() (gas: 1226292)
    [SKIP] testChainlogIntegrity() (gas: 0)
    [PASS] testChainlogValues() (gas: 9512526)
    [SKIP] testCollateralIntegrations() (gas: 0)
    [PASS] testContractSize() (gas: 11139)
    [SKIP] testDAIPayments() (gas: 0)
    [PASS] testDIRECTSPARKDAIBuffer() (gas: 1232307)
    [SKIP] testDaoResolutions() (gas: 0)
    [PASS] testDeployCost() (gas: 2307908)
    [SKIP] testEsmAuth() (gas: 0)
    [PASS] testGeneral() (gas: 27255558)
    [SKIP] testIlkClipper() (gas: 0)
    [SKIP] testL2ArbitrumSpell() (gas: 0)
    [SKIP] testL2OptimismSpell() (gas: 0)
    [SKIP] testLerpSurplusBuffer() (gas: 0)
    [SKIP] testMKRPayments() (gas: 0)
    [SKIP] testMedianizers() (gas: 0)
    [SKIP] testNewIlkRegistryValues() (gas: 0)
    [PASS] testNextCastTime() (gas: 353796)
    [SKIP] testOSMs() (gas: 0)
    [SKIP] testOffboardings() (gas: 0)
    [PASS] testOfficeHours() (gas: 13466)
    [SKIP] testOracleList() (gas: 0)
    [PASS] testPSMs() (gas: 2533112)
    [PASS] testPushPAXOutInputConduit() (gas: 1245649)
    [SKIP] testRemoveChainlogValues() (gas: 0)
    [PASS] testRevertIfNotScheduled() (gas: 17610)
    [PASS] testSparkSpellIsExecuted() (gas: 1228595)
    [PASS] testUseEta() (gas: 352506)
    [SKIP] testVestDAI() (gas: 0)
    [SKIP] testVestMKR() (gas: 0)
    [PASS] testYankDAI() (gas: 1248539)
    [PASS] testYankMKR() (gas: 1284522)
    Test result: ok. 16 passed; 0 failed; 19 skipped; finished in 279.52s

    Ran 2 test suites in 309.71s: 18 tests passed, 0 failed, 19 skipped (37 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 1 files with 0.8.16
[⠘] Solc 0.8.16 finished in 1.95s
Compiler run successful!

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

Ran 35 tests for src/DssSpell.t.sol:DssSpellTest
[SKIP] testBytecodeMatches() (gas: 0)
[PASS] testCastCost() (gas: 1227614)
[PASS] testCastOnTime() (gas: 1224510)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 9510744)
[SKIP] testCollateralIntegrations() (gas: 0)
[PASS] testContractSize() (gas: 11139)
[SKIP] testDAIPayments() (gas: 0)
[PASS] testDIRECTSPARKDAIBuffer() (gas: 1230525)
[SKIP] testDaoResolutions() (gas: 0)
[PASS] testDeployCost() (gas: 2307908)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 27253776)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[SKIP] testMKRPayments() (gas: 0)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 353796)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 13466)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2531687)
[PASS] testPushPAXOutInputConduit() (gas: 1243867)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17610)
[PASS] testSparkSpellIsExecuted() (gas: 1230405)
[PASS] testUseEta() (gas: 352506)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[PASS] testYankDAI() (gas: 1246757)
[PASS] testYankMKR() (gas: 1282740)
Test result: ok. 16 passed; 0 failed; 19 skipped; finished in 347.05s

Ran 2 test suites in 512.21s: 18 tests passed, 0 failed, 19 skipped (37 total tests)
oddaf commented 9 months ago

Reassessed after 2face4c, good to deploy!

oddaf commented 9 months ago

Reassessed after 5654502. Only two URLs were added, both match the exec sheet. No changes to code.

Good to deploy!

SidestreamStrongStrawberry commented 9 months ago

spell is deployed : https://etherscan.io/address/0xdB2C426173e5a9c10af3CD834B87DEAad40525Ff#code

casted on tenderly : https://dashboard.tenderly.co/explorer/vnet/46e3a66e-290a-4fd9-a6b3-57c226069e4e/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...
[⠔] Compiling 4 files with 0.8.16
[⠑] Solc 0.8.16 finished in 2.79s
Compiler run successful!

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

Ran 35 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2322319)
[PASS] testCastCost() (gas: 1229109)
[PASS] testCastOnTime() (gas: 1226005)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 9512239)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[SKIP] testDAIPayments() (gas: 0)
[PASS] testDIRECTSPARKDAIBuffer() (gas: 1232020)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 27256706)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[SKIP] testMKRPayments() (gas: 0)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 353796)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 13466)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2532883)
[PASS] testPushPAXOutInputConduit() (gas: 1245362)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17610)
[PASS] testSparkSpellIsExecuted() (gas: 1231900)
[PASS] testUseEta() (gas: 352506)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[PASS] testYankDAI() (gas: 1248252)
[PASS] testYankMKR() (gas: 1284235)
Test result: ok. 15 passed; 0 failed; 20 skipped; finished in 346.56s

Ran 2 test suites in 509.54s: 17 tests passed, 0 failed, 20 skipped (37 total tests)
oddaf 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.72s
Compiler run successful!

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

Ran 35 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testBytecodeMatches() (gas: 2322319)
[PASS] testCastCost() (gas: 1228994)
[PASS] testCastOnTime() (gas: 1225890)
[SKIP] testChainlogIntegrity() (gas: 0)
[PASS] testChainlogValues() (gas: 9512124)
[SKIP] testCollateralIntegrations() (gas: 0)
[SKIP] testContractSize() (gas: 0)
[SKIP] testDAIPayments() (gas: 0)
[PASS] testDIRECTSPARKDAIBuffer() (gas: 1231905)
[SKIP] testDaoResolutions() (gas: 0)
[SKIP] testDeployCost() (gas: 0)
[SKIP] testEsmAuth() (gas: 0)
[PASS] testGeneral() (gas: 27256591)
[SKIP] testIlkClipper() (gas: 0)
[SKIP] testL2ArbitrumSpell() (gas: 0)
[SKIP] testL2OptimismSpell() (gas: 0)
[SKIP] testLerpSurplusBuffer() (gas: 0)
[SKIP] testMKRPayments() (gas: 0)
[SKIP] testMedianizers() (gas: 0)
[SKIP] testNewIlkRegistryValues() (gas: 0)
[PASS] testNextCastTime() (gas: 353796)
[SKIP] testOSMs() (gas: 0)
[SKIP] testOffboardings() (gas: 0)
[PASS] testOfficeHours() (gas: 13466)
[SKIP] testOracleList() (gas: 0)
[PASS] testPSMs() (gas: 2532791)
[PASS] testPushPAXOutInputConduit() (gas: 1245247)
[SKIP] testRemoveChainlogValues() (gas: 0)
[PASS] testRevertIfNotScheduled() (gas: 17610)
[PASS] testSparkSpellIsExecuted() (gas: 1231785)
[PASS] testUseEta() (gas: 352506)
[SKIP] testVestDAI() (gas: 0)
[SKIP] testVestMKR() (gas: 0)
[PASS] testYankDAI() (gas: 1248137)
[PASS] testYankMKR() (gas: 1284120)
Test result: ok. 15 passed; 0 failed; 20 skipped; finished in 303.24s

Ran 2 test suites in 336.07s: 17 tests passed, 0 failed, 20 skipped (37 total tests)