ethereum-optimism / superchain-registry

An index of chains which serves as the source of truth for who’s in the Superchain Ecosystem
MIT License
84 stars 99 forks source link

update (masked) standard bytecode hash for mips @ op-contracts/v1.6.0 #688

Closed geoknee closed 1 week ago

geoknee commented 1 week ago

I believe we have the incorrect bytecode hash stored in the standard TOML file for the MIPS contract at the latest governance approved release. This PR updates it to the correct value and gets just validate 10 passing again.

To reproduce this:

  1. I checked out op-contracts/v1.6.0 in the monorepo
  2. forge build
  3. Grab immutableReferences field from forge-artifacts/MIPS.sol/MIPS.json and update standard-immutables.toml (no semantically meaningful change here actually)
  4. cast code 0x16e83cE5Ce29BF90AD9Da06D2fE6a15d5f344ce4 and verify (using https://difff.jp/en/) returned bytecode matches the deployedBytecode from the above MIPS.json file, with the immutables filled in with the PreimageOracle address.
  5. Updatestandard-bytecodes.toml with the hash reported by the just validate 10 command.