Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add state override functionality to superchain-ops 2.0 #726

Open
Tracked by #396
blmalone opened this issue Mar 5, 2025 · 0 comments
Open
Tracked by #396

Add state override functionality to superchain-ops 2.0 #726

blmalone opened this issue Mar 5, 2025 · 0 comments

Comments

@blmalone
Copy link
Contributor

blmalone commented Mar 5, 2025

For feature parity with the old superchain-ops system, tasks need a way to be able to override state. This is commonly used by task developers to override the nonce of the parent multisig (see here).

However, task developers should be able to define any state overrides, not limited to nonces. The base contracts Simulation.sol library has helper functions to assist with this.

Requirements for OPCM

  • Override nonces
  • Override thresholds
  • Override implementation addresses on superchain level proxies e.g. this line will revert if we're doing a simulation where we are upgrading Base before OP has updated (Base doesn't use upgradeController address). OPCM enforces ordering in that OP mainnet/sepolia has to execute upgrade first before any other chain.
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

No branches or pull requests

1 participant