makerdao / spells-mainnet

Staging repo for MakerDAO weekly executive spells
GNU Affero General Public License v3.0
107 stars 43 forks source link

2023-08-18 Executive Spell #360

Closed SidestreamColdMelon closed 10 months ago

SidestreamColdMelon commented 11 months ago

Description

This PR implements executive spell planned for 2023-08-18. Relevant goerli spell: https://github.com/makerdao/spells-goerli/pull/222

Contribution Checklist

Checklist

0xdecr1pto commented 10 months ago

Good to deploy

Mainnet Executive Spell Review Checklist

Mainnet 2023-08-18

Spell Actions (Per Exec Doc):

Development Stage

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

Running 21 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487105614665)
[PASS] testAuthInSources() (gas: 9223371487099402314)
[PASS] testBytecodeMatches() (gas: 4234210)
[PASS] testCastCost() (gas: 1998557)
[PASS] testChainlogValues() (gas: 10835077)
[PASS] testChainlogVersionBump() (gas: 5611276)
[PASS] testContractSize() (gas: 8984)
[PASS] testDeployCost() (gas: 4214698)
[PASS] testFailNotScheduled() (gas: 14375)
[PASS] testFailTooEarly() (gas: 13607)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13629)
[PASS] testGeneral() (gas: 39113710)
[PASS] testMKRPayments() (gas: 2131782)
[PASS] testNextCastTime() (gas: 353659)
[PASS] testOnTime() (gas: 1994262)
[PASS] testPSMs() (gas: 3357915)
[PASS] testSparkAdminTransfer() (gas: 2034842)
[PASS] testSparkSpellIsExecuted() (gas: 1997865)
[PASS] testUseEta() (gas: 352346)
[PASS] test_RWA002_Update() (gas: 2196746)
Test result: ok. 21 passed; 0 failed; finished in 963.16s
SidestreamColdMelon commented 10 months ago

The spell is deployed at https://etherscan.io/address/0x2f34BB0FE10BCb5652390FD0bA3Af7879BcA4b62#code

SidestreamColdMelon commented 10 months ago

Here is the simulation of casting it https://dashboard.tenderly.co/shared/fork/simulation/1977ded7-a885-46fd-a40e-1525ca5f3e4e

0xdecr1pto commented 10 months ago

Good to submit

Deployed Stage