ethereum-optimism / ethereum-optimism/optimism
Add upgrade path testing for all supported chains in CI. (OPCM - Upgrade 13)
- 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
Assessment
This issue has not been assessed yet.