Update dispute game contracts for oplabs-devnet-0 and op-sepolia #789
+57
−21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates the dispute game contracts for the oplabs sepolia devnet and op-sepolia.
This also adds
PermissionedDelayedWETH
, andMIPS64
to the chain addresses.Context for MIPS64 Superchain Upgrades
The
CANNON
andPERMISSIONED_CANNON
game implementations will be replaced with new implementations that use the MIPS64 VM. MIPS64 is effectively the oldMIPS
VM. The MIPS64.sol contract semver precedes the MIPS.sol semver and so a new MIPS64 config value is added to prevent the backwards semver check from failing in CI.This is awkward as it's no longer clear which VM implementation is used by a chain from looking at the superchain-registry. This awkwardness is temporary as once the superchain upgrades to MIPS64, we can remove the
MIPS64
config field by replacing theMIPS
config value with a deployed MIPS64 contract address.The op-program prestate releases are agnostic to type of VM used to generate the prestate. That is, given a absolute prestate hash in the release registry, it's either a MIPS or MIPS64 generated prestate but not both. This creates a problem during FP validation checks as the op-sepolia MIPS64 upgrade was based on the
op-program/v1.4.0-rc.3
release. And the prestate of that release already exists in the registry as a MIPS prestate.To workaround this issue, FP validation is tweaked to avoid checking the absolute prestate on testnets that use MIPS64. This workaround can be removed once OPCM manages upgrades.