From be2f18cb1677ecf19142d250437f394a45cee4b4 Mon Sep 17 00:00:00 2001 From: Jack Chuma Date: Mon, 14 Sep 2026 16:53:40 -0400 Subject: [PATCH] fix(L1): bump semver for contracts changed since the last release OptimismPortal2, DisputeGameFactory, and AggregateVerifier all have source changes relative to the versions currently deployed onchain, but still declare the same semver. Bump each so the onchain version distinguishes the artifacts. - OptimismPortal2 5.2.0 -> 6.0.0: ETHLockbox removal drops the `ethLockbox()` getter and the `OptimismPortal_InvalidLockboxState` error from the ABI. - DisputeGameFactory 1.4.0 -> 1.5.0: game proxies are now deployed with `cloneDeterministic`; the ABI is unchanged. - AggregateVerifier 0.2.0 -> 0.3.0: reserves 0.2.0 for the v8.3.0 release branch, which ships the schedule-pinning work without the cadence changes. Co-authored-by: Cursor --- snapshots/semver-lock.json | 12 ++++++------ src/L1/OptimismPortal2.sol | 4 ++-- src/L1/proofs/AggregateVerifier.sol | 4 ++-- src/L1/proofs/DisputeGameFactory.sol | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/snapshots/semver-lock.json b/snapshots/semver-lock.json index cf5bd40ef..fd3eb6bc1 100644 --- a/snapshots/semver-lock.json +++ b/snapshots/semver-lock.json @@ -12,8 +12,8 @@ "sourceCodeHash": "0xd9f576a79e97bc541b3d7a2ee928f34223edaaecb074eeb9e6e2ecee857ce6a0" }, "src/L1/OptimismPortal2.sol:OptimismPortal2": { - "initCodeHash": "0x1b9441d11e2a206d6b7c018b910502194bfbdcaa75d42f809e6965281f224a2a", - "sourceCodeHash": "0x811596e7486cab9ceeeb61405b9ae510d93fcbbdfa11949201a367506c53194a" + "initCodeHash": "0x994a20599b0d306697061f0c3347a823ed85dbc68017c4f94381c6f3df1ddf32", + "sourceCodeHash": "0x118080b9a02e661e237df1f1c3227b82fe1c0403bbcc0d43709e0e69511da496" }, "src/L1/ProtocolVersions.sol:ProtocolVersions": { "initCodeHash": "0xbca4c0d69dcb7a196a9ebfcc8cb77162fa090377c5dda99831d61c6c68ba4352", @@ -28,8 +28,8 @@ "sourceCodeHash": "0x780ff372493ba9010bc0d13100ac896f2bf75730a9b17d4bb63aaf694dc3c634" }, "src/L1/proofs/AggregateVerifier.sol:AggregateVerifier": { - "initCodeHash": "0xac5b40f2fadfbf26c206e5abb44870a93053063ba03ceb523a09799785c82e06", - "sourceCodeHash": "0x1234f4ea80d6da4f0c0e98cf11839b423d211da2027faf4c10ccf131aa62d8d7" + "initCodeHash": "0x91a51808e37fa282a974cb5028e0ba517e04c903ce594b393cfda9dcc5408188", + "sourceCodeHash": "0x360867cf77ce89209c177d55c286fdca1309924cd36c23b7b5da2971089bcef2" }, "src/L1/proofs/AnchorStateRegistry.sol:AnchorStateRegistry": { "initCodeHash": "0x6f3afd2d0ef97a82ca3111976322b99343a270e54cd4a405028f2f29c75f7fb1", @@ -40,8 +40,8 @@ "sourceCodeHash": "0x7a1a6d240844c8e90e89a582d8d7b43e14c87ec22ec697cb3828682cfceb8470" }, "src/L1/proofs/DisputeGameFactory.sol:DisputeGameFactory": { - "initCodeHash": "0x17bd83cfb6911f7f7f74880249e6bf4e2b2884aed611f6fec8b589d5083f22d1", - "sourceCodeHash": "0x62ff0209cffa08e5aaaaac47e0f22d89ea1fa6a0ea8773a162ab7230e50806ee" + "initCodeHash": "0x4b451a7de6befb16149d1de3e75c767d30a40f943d0fa0c775701947ea9cfd34", + "sourceCodeHash": "0x7f3c5c00b0eaca0a6f475a70fb5401f7db9bfaaf634849aec79202a40c30253b" }, "src/L1/proofs/tee/TEEProverRegistry.sol:TEEProverRegistry": { "initCodeHash": "0x380af47d78626bd0af4bb45769a9c184d6ea22adf60877ea9765129a28a3ffd6", diff --git a/src/L1/OptimismPortal2.sol b/src/L1/OptimismPortal2.sol index 531f5a3c4..30b397521 100644 --- a/src/L1/OptimismPortal2.sol +++ b/src/L1/OptimismPortal2.sol @@ -203,9 +203,9 @@ contract OptimismPortal2 is Initializable, ResourceMetering, ReinitializableBase error OptimismPortal_Unproven(); /// @notice Semantic version. - /// @custom:semver 5.2.0 + /// @custom:semver 6.0.0 function version() public pure virtual returns (string memory) { - return "5.2.0"; + return "6.0.0"; } /// @param _proofMaturityDelaySeconds The proof maturity delay in seconds. diff --git a/src/L1/proofs/AggregateVerifier.sol b/src/L1/proofs/AggregateVerifier.sol index 544d7b52c..acbd75fac 100644 --- a/src/L1/proofs/AggregateVerifier.sol +++ b/src/L1/proofs/AggregateVerifier.sol @@ -1162,9 +1162,9 @@ contract AggregateVerifier is Clone, ReentrancyGuard, ISemver { } /// @notice Semantic version. - /// @custom:semver 0.2.0 + /// @custom:semver 0.3.0 function version() public pure virtual returns (string memory) { - return "0.2.0"; + return "0.3.0"; } /// @notice Derives an L2 block timestamp: the slow cadence before the speedup, whole-second groups after it. diff --git a/src/L1/proofs/DisputeGameFactory.sol b/src/L1/proofs/DisputeGameFactory.sol index c79f3e9a4..de25a3617 100644 --- a/src/L1/proofs/DisputeGameFactory.sol +++ b/src/L1/proofs/DisputeGameFactory.sol @@ -57,8 +57,8 @@ contract DisputeGameFactory is ProxyAdminOwnedBase, ReinitializableBase, Ownable } /// @notice Semantic version. - /// @custom:semver 1.4.0 - string public constant version = "1.4.0"; + /// @custom:semver 1.5.0 + string public constant version = "1.5.0"; /// @notice `gameImpls` is a mapping that maps `GameType`s to their respective /// `IDisputeGame` implementations.