ethereum-optimism / ethereum-optimism/optimism

Add upgrade path testing for all supported chains in CI. (OPCM - Upgrade 13)

Open
#13,607 0 comments 0 reactions 1 assignee Assigned to @JosepBove View on GitHub
T-evm-safety T-upgrades
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 15h
Merged PRs (30d)
145

Description

The upgrade tests are run by calling:

```
just test-upgrade # recommend prefixing with FOUNDRY_PROFILE=lite for speed
```

This test will fork a production network, and run tests against it.
currently these tests default to running with:

- `FORK_OP_CHAIN = "op"`
- `FORK_BASE_CHAIN = "mainnet"`

However we need to ensure that the upgrade path is successful for all
standard chains.

**Todo:**

- [ ] The base chains should be either sepolia or mainnet
- [ ] the op chains should be any chain that appears in [this search](https://github.com/search?q=repo:ethereum-optimism/superchain-registry%200x5a0Aae59D09fccBdDb6C6CcEB07B7279367C3d2A&type=code).
- [ ] We may need to add other chains as well, but this is a good starting point and it will be easy to do once that is in.
- [ ] Parametrize the [contracts-bedrock-tests-upgrade](https://github.com/ethereum-optimism/optimism/blob/opcm-up/update-impls-only/.circleci/config.yml#L702) job so that it can be run with against all necessary combinations of `FORK_BASE_CHAIN` and `FORK_OP_CHAIN`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.