-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(superchain): add GovernedByOptimism field to chain config (#718)
* add GovernedByOptimism field to chain config * set governed_by_optimism on op-mainnet and metal * lint & run codegen * update expected configs * add GovernedByOptimismTest * lint * use PAO not PA * swap expected and actual fields * add explicit governed_by_optimism = false * fix test panic * set governed_by_optimism for mode and zora * commit codegen changes * remove comment * extract resolveAddress * check negative case as well * set governed_by_optimism = true on additional chains * commit codegen output * commit lint fixes * add back lint-removed fmt import in different order * validate that PAO role is set * iterate over networks instead of hardcoding * lint * rename getAddress in response to PR comment * set swell & ink sepolia to governed_by_optimism = true * update codegen * exclude sepolia-devnet-0 & base-devnet-0 from GovernedByOptimismTest * improve comment for exclusions * simplify getAddressFromConfig signature * removed redundant nil checks
- Loading branch information
Showing
42 changed files
with
237 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.