forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contracts-bedrock: fix deploy config for mainnet MCP upgrade (ethereu…
…m-optimism#9865) * contracts-bedrock: fix deploy config for mainnet MCP upgrade The config param for the scalar was not updated in the deploy config when it was changed on chain. If we can enforce that the deploy config is always used as the source of truth for when doing on chain config changes, it can help to scale the team as other teams can use the same config file and know that the values in there represent the truth. This is a fundamental problem with the `initialize` pattern, we need to move away from it eventually. The deploy config is updated with the value that is used on mainnet and the parsing is updated to handle the new ecotone style config, which tightly packs the values into a single bytes32. * op-chain-ops: more cleanup * op-e2e: fix build * cleanup: modularize scalar encoding and decoding Ensures that the same consensus code is used to encode and decode the scalar in various places. * op-chain-ops: fix L2 genesis generation * config: fix serialization * op-chain-ops: refactor config Make backwards compatible * op-chain-ops: fix build * deploy-config: update mainnet fee scalar config Should match mainnet values * op-chain-ops: fix test * genesis: test L1Block predeploy state setting * op-upgrade: delete dead code * build: fix * op-chain-ops: add deprecation warning Co-authored-by: Sebastian Stammler <[email protected]> * deploy-config: use mainnet values Co-authored-by: Sebastian Stammler <[email protected]> * deploy-config: use mainnet values Co-authored-by: Sebastian Stammler <[email protected]> * op-service: end to end encode/decode scalar tests * tests: cleanup * op-chain-ops: fix nits, adapt to breaking simulated backend changes * op-chain-ops: fix comment and address-type conversion nits --------- Co-authored-by: Sebastian Stammler <[email protected]> Co-authored-by: protolambda <[email protected]>
- Loading branch information
1 parent
35c0ad8
commit 8167f36
Showing
16 changed files
with
246 additions
and
67 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
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
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
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
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
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.