Skip to content

feat: new betanet tasks#138

Merged
0xChin merged 5 commits into
sc-feat/add-betanet-taskfrom
feat/new-betanet-tasks
Jan 28, 2026
Merged

feat: new betanet tasks#138
0xChin merged 5 commits into
sc-feat/add-betanet-taskfrom
feat/new-betanet-tasks

Conversation

@0xChin
Copy link
Copy Markdown
Member

@0xChin 0xChin commented Jan 28, 2026

Add U18 Upgrade Task for RevShare Betanet

Summary

Adds the new 060-U18-rev-share-betanet task for upgrading RevShare Betanet to U18, and renames the existing RevShare setup task from 060 to 061 to establish proper task ordering (U18 upgrade must run before RevShare setup).

Changes

New: 060-U18-rev-share-betanet

  • config.toml: Targets revshare-beta-0 (chainId: 420120033) with v600 OPCM and U18 prestates
  • addresses.json: Contract addresses for revshare-beta-0 from devnets repo
  • README.md: Task documentation with simulation/signing commands
  • VALIDATION.md: Safe address (0xf64bc17485f0B4Ea5F06A96514182FC4cB561977), hashes TBD
  • .env: Tenderly gas configuration

Renamed: 060-betanet-rev-share061-betanet-rev-share

  • Updated all path references from 060 to 061
  • Fixed fallbackAddressesJsonPath to point to 061-betanet-rev-share/addresses.json
  • Added TODO comment noting betanet will be replaced

TODO Before Merging

  • Run simulations and verify they pass:
    just simulate-stack sep 060-U18-rev-share-betanet                                                                                                                                                                 
    just simulate-stack sep 061-betanet-rev-share    
  • forge test passing
  • Update VALIDATION.md files with actual domain/message hashes from simulation output
  • Complete stack simulation just simulate-stack sep

Incoming Betanet

A new betanet is being spun up to replace the current revshare-beta-0. When deployed, the following will need updating:

File Fields to Update
060/config.toml l2chains (name, chainId), [[opcmUpgrades]] chainId, prestates (if different), stateOverrides address
060/addresses.json Chain ID key, all contract addresses
061/config.toml l2chains (name, chainId), portals, ProxyAdminOwner, stateOverrides addresses
061/addresses.json Chain ID key, all contract addresses
*/VALIDATION.md Safe addresses, domain/message hashes

Where to get new values

@0xChin 0xChin requested a review from 0xOneTony January 28, 2026 13:18
@0xChin 0xChin self-assigned this Jan 28, 2026
Copy link
Copy Markdown
Member

@0xOneTony 0xOneTony left a comment

Choose a reason for hiding this comment

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

I dont think we need to wait for betanet for the stateOverrides like mentioned in the description, cant we define these now?

# SYSCON-130: SystemConfig proxyAdmin on betanets is not the standard OP Sepolia one

[addresses]
OPCM = "0xf0a2e224519e876979ea6b2cd15ef5cc3d6703bd" # v600 OPCM
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
OPCM = "0xf0a2e224519e876979ea6b2cd15ef5cc3d6703bd" # v600 OPCM
OPCM = "0xf0a2e224519e876979ea6b2cd15ef5cc3d6703bd" # v600 OPCM source https://github.com/ethereum-optimism/superchain-registry/blob/c84ed822ae5a65500d8c0e323460fa688cfcca22/validation/standard/standard-versions-sepolia.toml#L23C56-L23C98

OPCM = "0xf0a2e224519e876979ea6b2cd15ef5cc3d6703bd" # v600 OPCM

[stateOverrides]
0xf64bc17485f0B4Ea5F06A96514182FC4cB561977 = [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
0xf64bc17485f0B4Ea5F06A96514182FC4cB561977 = [
0xf64bc17485f0B4Ea5F06A96514182FC4cB561977 = [ # SC

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why dont we also update the stateOverrides from now on this aswell?

@0xChin 0xChin marked this pull request as ready for review January 28, 2026 18:25
@0xChin 0xChin merged commit b4c3d1d into sc-feat/add-betanet-task Jan 28, 2026
1 check passed
@0xChin 0xChin deleted the feat/new-betanet-tasks branch January 28, 2026 18:26
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.

2 participants