Skip to content

U18 Betanet tasks#1319

Merged
Wazabie merged 21 commits into
mainfrom
betanet-U18
Dec 23, 2025
Merged

U18 Betanet tasks#1319
Wazabie merged 21 commits into
mainfrom
betanet-U18

Conversation

@Wazabie
Copy link
Copy Markdown
Contributor

@Wazabie Wazabie commented Dec 10, 2025

This PR add the below tasks necessary for U18 on OP betanets:

  • add game type 0 to betanet 1
  • set respected game type to 0 on betanet 1
  • add the actual upgrade task to U18 for both betanet-0 and betanet-1

@Wazabie Wazabie requested a review from a team as a code owner December 10, 2025 20:29
@Wazabie Wazabie self-assigned this Dec 10, 2025
Comment thread src/tasks/sep/047-op-betanet-add-game-type/README.md Outdated
Comment thread src/tasks/sep/047-op-betanet-add-game-type/README.md Outdated
Comment thread src/tasks/sep/048-op-betanet-set-respected-game-type/README.md Outdated
Comment thread src/tasks/sep/048-op-betanet-set-respected-game-type/README.md Outdated
Comment thread src/tasks/sep/047-op-betanet-add-game-type/README.md
Comment thread src/tasks/sep/048-op-betanet-set-respected-game-type/config.toml
Comment thread src/tasks/sep/049-U18-op-betanet-superchainconfig/README.md Outdated
Comment thread src/tasks/sep/049-U18-op-betanet-superchainconfig/README.md Outdated
Comment thread src/tasks/sep/049-U18-op-betanet-superchainconfig/config.toml Outdated
Comment thread src/tasks/sep/048-op-betanet-set-respected-game-type/config.toml Outdated
Comment thread src/tasks/sep/049-U18-op-betanet-superchainconfig/addresses.json Outdated
Comment thread src/tasks/sep/048-op-betanet-set-respected-game-type/config.toml Outdated
Comment thread src/tasks/sep/049-U18-op-betanet-superchainconfig/config.toml Outdated
@Wazabie Wazabie requested review from a team as code owners December 10, 2025 23:12
@Wazabie Wazabie requested a review from maurelian December 10, 2025 23:12
Comment thread src/tasks/sep/050-op-betanet-add-game-type/VALIDATION.md
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Comment thread src/tasks/sep/051-U18-op-betanet-superchainconfig/VALIDATION.md Outdated
Comment thread src/tasks/sep/051-U18-op-betanet-superchainconfig/config.toml Outdated
Comment thread src/tasks/sep/052-U18-op-betanets/README.md Outdated
Comment thread src/tasks/sep/052-U18-op-betanets/README.md Outdated
Comment thread src/tasks/sep/051-U18-op-betanet-superchainconfig/VALIDATION.md Outdated
@Wazabie Wazabie changed the title Add betanet tasks for U18 U18 Betanet tasks Dec 11, 2025
Comment thread src/tasks/sep/051-U18-op-betanets/config.toml
Comment thread src/tasks/sep/052-U18-op-betanets/README.md Outdated
Comment thread src/tasks/sep/051-U18-op-betanet-superchainconfig/VALIDATION.md Outdated
Comment thread src/tasks/sep/051-U18-op-betanet-superchainconfig/VALIDATION.md Outdated
Comment thread src/tasks/sep/052-U18-op-betanets/README.md
Comment thread src/tasks/sep/052-U18-op-betanets/VALIDATION.md Outdated
Comment thread src/tasks/sep/052-U18-op-betanets/VALIDATION.md
Comment thread src/tasks/sep/052-U18-op-betanets/.env
Comment thread src/tasks/sep/052-U18-op-betanets/VALIDATION.md Outdated
Comment thread src/tasks/sep/052-U18-op-betanets/VALIDATION.md
Comment thread src/tasks/sep/050-op-betanet-add-game-type/VALIDATION.md
Copy link
Copy Markdown
Contributor

@ZakAyesh ZakAyesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Wazabie Wazabie added this pull request to the merge queue Dec 23, 2025
Merged via the queue into main with commit 66a4b19 Dec 23, 2025
21 checks passed
@Wazabie Wazabie deleted the betanet-U18 branch December 23, 2025 16:09
Comment thread src/tasks/sep/051-op-betanet-set-respected-game-type/README.md
Comment thread src/tasks/sep/050-op-betanet-add-game-type/README.md
Comment thread src/tasks/sep/050-op-betanet-add-game-type/VALIDATION.md
@@ -0,0 +1,16 @@
{
"420110022": {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the directory, it's not clear which betanet and chain in https://github.com/ethereum-optimism/devnets/tree/main/betanets this folder refers to.

From the chain ID key it seems that https://github.com/ethereum-optimism/devnets/blob/f48b318e8f8ee70bc1b60ce31dd3ad20240f2c1a/betanets/u18-beta/u18-beta-1/chain.yaml is the chain, but the address in that file don't match what's in this file

"L1StandardBridgeProxy": "0x3756BF0380E7fdABcB81f2cFb1d8022e8B798a8F",
"OptimismPortalProxy": "0xbd36ac8fB65F192dAEbCB2Dca819CB7ea7D60417",
"DisputeGameFactoryProxy": "0x298038f9E37b370d20E58706E8Ac78475b089FB2",
"DelayedWETHProxy": "0x62841F5E03a56f818BC8818c5130757acA2541A7",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this? Chains have multiple DelayedWETHs so we should delete this and "discover" DelayedWETH addrs when needed via contract calls

]

[[configs]]
# The below addresses can be found here https://github.com/ethereum-optimism/devnets/blob/main/betanets/u18-beta/u18-beta-1/chain.yaml
Copy link
Copy Markdown
Contributor

@mds1 mds1 Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have to define the addresses here, if they are also in addresses.json? It would be great if we can remove them from here. And similar to above the addresses still don't match. For example this file has a systemConfig of 0x5babF93aC7AFfeaE25dc1a7ad4587fDeEbba44C2 but the linked file shows it as 0x4E0528A9dc40FEdf1C2cFc0eAA04e70E7d3d591B

proxyAdmin = "0xcd18a0C04286Eba52Bb168Fa1D79133Da4856bEf"
delayedWETH = "0x62841F5E03a56f818BC8818c5130757acA2541A7"
disputeGameType = 0
disputeAbsolutePrestate = "0x03ccb5619628eeba89d58b204aadeb2ed9f51d18ff938069dd298b9e19fb2d31" # Source: https://www.notion.so/oplabs/Betanet-2a9f153ee16280859261e3000d866ee9?source=copy_link#2c5f153ee1628012bc4dfbeaae710c70
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we link to an official prestate review as evidence this is correct instead? This link shows me the prestate was generated on Dec 10, but how do we know that Dec 10 generated the right prestate?

disputeClockExtension = 10800
disputeMaxClockDuration = 302400
initialBond = 80000000000000000
vm = "0x6463dEE3828677F6270d83d45408044fc5eDB908" # Source: https://github.com/ethereum-optimism/superchain-registry/blob/ad5becd08007b80988679b8f0c08d415e1294066/validation/standard/standard-versions-sepolia.toml#L11
Copy link
Copy Markdown
Contributor

@mds1 mds1 Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we hardcoding a vm address as input? This seems suspect. Can we e.g. read it from OPCM instead? The template has an OPCM var, but also takes this as an input, which seems redundant. Maybe a question for proofs team


## Objective

This task adds the dispute game type 0 (Permissionless) to the Dispute Game Factory on OP Betanet for U18.
Copy link
Copy Markdown
Contributor

@mds1 mds1 Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does op-deployer not support configuring permissionless games when the chain is stood up? I thought it did

Comment thread src/tasks/sep/051-op-betanet-set-respected-game-type/VALIDATION.md
@@ -0,0 +1,16 @@
{
"420110022": {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

>
> Before signing, ensure the below hashes match what is on your ledger.
>
> ### Betanet Proxy Admin Owner (`0xe934Dc97E347C6aCef74364B50125bb8689c40ff`)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,36 @@
{
"420110021": {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addresses don't match from https://github.com/ethereum-optimism/devnets/blob/f48b318e8f8ee70bc1b60ce31dd3ad20240f2c1a/betanets/u18-beta/u18-beta-0/chain.yaml — how can we have caught all of these mismatches in CI instead of requiring manual review. Let's aim to shift left here

Comment on lines +16 to +18
# U18 prestates from betanet: https://www.notion.so/oplabs/Betanet-2a9f153ee16280859261e3000d866ee9?source=copy_link#2c5f153ee162805abcc3e949ab6c837e
cannonPrestate = "0x03f833cc2a644a9f7bba9718c13f622b867c513f3c43f3eb5a0cad17784bd408"
cannonKonaPrestate = "0x03845751c66672c0b09e68ba7c3024a7543a1a22edaa90d7c2c90ebc8cecee68"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar prestate questions for this file as above

@Wazabie Wazabie restored the betanet-U18 branch December 23, 2025 21:46
Wazabie added a commit that referenced this pull request Dec 23, 2025
@Wazabie
Copy link
Copy Markdown
Contributor Author

Wazabie commented Dec 23, 2025

Leaving this comment for tracking: the betanets were redeployed, this is why the addresses do not match @mds1. I will update the addresses so they are referring to the correct betanet.

@Wazabie
Copy link
Copy Markdown
Contributor Author

Wazabie commented Jan 5, 2026

@mds1 I have opened a PR to update the addresses and the other comments here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants