makerdao / spells-mainnet

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

2023-08-02 Spell #359

Closed amusingaxl closed 1 year ago

amusingaxl commented 1 year ago

Description

Contribution Checklist

Checklist

The-Arbiter commented 1 year ago

Requesting addition of subdao spell deployer address (in the form of a comment is fine, as I understand that this increases test time significantly).

Replication of this change

The-Arbiter commented 1 year ago

This spell (as well as the Goerli spell at the stage when I reviewed it) is very clean and well structured. Well done with this one @amusingaxl

SidestreamSweatyPumpkin commented 1 year ago

archive happened before deploy info was added so there's a mismatch now.

amusingaxl commented 1 year ago

archive happened before deploy info was added so there's a mismatch now.

My bad! It's fixed now.

SidestreamSweatyPumpkin commented 1 year ago

Deployed Stage

./scripts/test-dssspell-forge.sh match="" block=""
Using DssExecLib at: 0x8De6DDbCd5053d32292AAA0D2105A32d108484a6
[⠢] Compiling...
[⠘] Compiling 104 files with 0.8.16
[⠃] Solc 0.8.16 finished in 3.69s
Compiler run successful

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

Running 22 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487105707415)
[PASS] testAuthInSources() (gas: 9223371487099495064)
[PASS] testBytecodeMatches() (gas: 2468218)
[PASS] testCastCost() (gas: 1619621)
[PASS] testChainlogValues() (gas: 10460141)
[PASS] testChainlogVersionBump() (gas: 5236407)
[PASS] testContractSize() (gas: 9006)
[PASS] testDeployCost() (gas: 2453602)
[PASS] testFailNotScheduled() (gas: 14375)
[PASS] testFailTooEarly() (gas: 13542)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13607)
[PASS] testGeneral() (gas: 37270621)
[PASS] testMKRPayments() (gas: 1705603)
[PASS] testNextCastTime() (gas: 353637)
[PASS] testOnTime() (gas: 1615371)
[PASS] testPSMs() (gas: 2976957)
[PASS] testPayments() (gas: 1654922)
[PASS] testRWA002DocChange() (gas: 1682156)
[PASS] testRWA004OracleTell() (gas: 1632200)
[PASS] testSparkSpellIsExecuted() (gas: 1618907)
[PASS] testUseEta() (gas: 352346)
Test result: ok. 22 passed; 0 failed; finished in 1008.59s

Approved, can merge