makerdao / spells-mainnet

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

2023-09-27 Mainnet Spell #367

Closed amusingaxl closed 1 year ago

amusingaxl commented 1 year ago

Description

Contribution Checklist

Checklist

0xdecr1pto commented 1 year ago

Mainnet 2023-09-27

Spell Actions (Per Exec Sheet):

Development Stage

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

Running 21 tests for src/DssSpell.t.sol:DssSpellTest [PASS] testAuth() (gas: 9223371487105923956) [PASS] testAuthInSources() (gas: 9223371487099527378) [PASS] testBytecodeMatches() (gas: 1869176) [PASS] testCastCost() (gas: 533466) [PASS] testChainlogValues() (gas: 9408004) [PASS] testChainlogVersionBump() (gas: 4171503) [PASS] testContractSize() (gas: 8962) [PASS] testDeployCost() (gas: 1856194) [PASS] testFailNotScheduled() (gas: 14420) [PASS] testFailTooEarly() (gas: 13585) [PASS] testFailTooLate() (gas: 13584) [PASS] testFailWrongDay() (gas: 13607) [PASS] testGeneral() (gas: 35531404) [PASS] testNextCastTime() (gas: 353637) [PASS] testOnTime() (gas: 529128) [PASS] testPSMs() (gas: 1976038) [PASS] testRWA005OracleTell() (gas: 545933) [PASS] testRWA007DocChange() (gas: 595869) [PASS] testRWA009DocChange() (gas: 595913) [PASS] testSparkSpellIsExecuted() (gas: 532664) [PASS] testUseEta() (gas: 352346) Test result: ok. 21 passed; 0 failed; finished in 632.28s

SidestreamSweatyPumpkin commented 1 year ago

Good to deploy (since after my review the comment under https://github.com/makerdao/spells-mainnet/pull/367#discussion_r1340192555 is addressed)

0xdecr1pto commented 1 year ago

Good to deploy

SidestreamSweatyPumpkin commented 1 year ago

Summary

Other than the point above, no problems noticed.

Deployed Stage

./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 1.79s
Compiler run successful!

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

Running 21 tests for src/DssSpell.t.sol:DssSpellTest
[PASS] testAuth() (gas: 9223371487105923956)
[PASS] testAuthInSources() (gas: 9223371487099527378)
[PASS] testBytecodeMatches() (gas: 1869176)
[PASS] testCastCost() (gas: 533466)
[PASS] testChainlogValues() (gas: 9408004)
[PASS] testChainlogVersionBump() (gas: 4171503)
[PASS] testContractSize() (gas: 8962)
[PASS] testDeployCost() (gas: 1856194)
[PASS] testFailNotScheduled() (gas: 14420)
[PASS] testFailTooEarly() (gas: 13585)
[PASS] testFailTooLate() (gas: 13584)
[PASS] testFailWrongDay() (gas: 13607)
[PASS] testGeneral() (gas: 35533501)
[PASS] testNextCastTime() (gas: 353637)
[PASS] testOnTime() (gas: 529128)
[PASS] testPSMs() (gas: 1976038)
[PASS] testRWA005OracleTell() (gas: 545933)
[PASS] testRWA007DocChange() (gas: 595869)
[PASS] testRWA009DocChange() (gas: 595913)
[PASS] testSparkSpellIsExecuted() (gas: 532664)
[PASS] testUseEta() (gas: 352346)
Test result: ok. 21 passed; 0 failed; 0 skipped; finished in 911.80s

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

In previous spell https://github.com/makerdao/spells-mainnet/pull/365 the evm version was also london after deployment.

This issue requires further looking into and requires investigation regarding why the etherscan now shows different evm version on latest spells. I as reviewer here do not consider the different version strong enough reason to block the further progress of the spell here due to:

  1. both other spell process participants are also fine with moving on with this spell - this means @0xdecr1pto should agree with me here, @amusingaxl should agree with me here.
  2. @SidestreamColdMelon has already OKyed the london (see above) - no action needed here.
0xdecr1pto commented 1 year ago

In previous spell #365 the evm version was also london after deployment.

  • Me (prev spell crafter) with @amusingaxl both did not change deployment processes
  • @SidestreamColdMelon explicitly OKyed the london version in the last spell.

This issue requires further looking into and requires investigation regarding why the etherscan now shows different evm version on latest spells. I as reviewer here do not consider the different version strong enough reason to block the further progress of the spell here due to:

  1. both other spell process participants are also fine with moving on with this spell - this means @0xdecr1pto should agree with me here, @amusingaxl should agree with me here.
  2. @SidestreamColdMelon has already OKyed the london (see above) - no action needed here.

aggree

0xdecr1pto commented 1 year ago

Deployed Stage

amusingaxl commented 1 year ago

Regarding the EVM version issue, I spent some time digging into it. I didn't find any explicit mention to this issue out there. Maybe it's related to us still using dapp.tools for verification or Etherscan changing something on their side 🤷🏻‍♂️.

Regarding the last spells, I checked 2 months worth of spells and apparently the issue started on Aug 18th.

Spells showing "London" as EVM version:

Spells showing "default" EVM version:

I also verified the current spell on Sourcify: https://repo.sourcify.dev/contracts/partial_match/1/0xD3F96B8Ffbf21033F5A6210C6349598AAdBd1152/metadata.json

However, it does not show any info regarding the EVM version :/

SidestreamSweatyPumpkin commented 1 year ago

Handover and Merge Stage