• Mark Tyneway's avatar
    contracts-bedrock: fix deploy config for mainnet MCP upgrade (#9865) · 8167f363
    Mark Tyneway authored
    * 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: default avatarSebastian Stammler <seb@oplabs.co>
    
    * deploy-config: use mainnet values
    Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
    
    * deploy-config: use mainnet values
    Co-authored-by: default avatarSebastian Stammler <seb@oplabs.co>
    
    * 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: default avatarSebastian Stammler <seb@oplabs.co>
    Co-authored-by: default avatarprotolambda <proto@protolambda.com>
    8167f363
Name
Last commit
Last update
.changeset Loading commit data...
.circleci Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
bedrock-devnet Loading commit data...
cannon Loading commit data...
docs Loading commit data...
endpoint-monitor Loading commit data...
indexer Loading commit data...
op-batcher Loading commit data...
op-bindings Loading commit data...
op-bindings-e2e Loading commit data...
op-bootnode Loading commit data...
op-chain-ops Loading commit data...
op-challenger Loading commit data...
op-conductor Loading commit data...
op-dispute-mon Loading commit data...
op-e2e Loading commit data...
op-heartbeat Loading commit data...
op-node Loading commit data...
op-plasma Loading commit data...
op-preimage Loading commit data...
op-program Loading commit data...
op-proposer Loading commit data...
op-service Loading commit data...
op-ufm Loading commit data...
op-wheel Loading commit data...
ops Loading commit data...
ops-bedrock Loading commit data...
packages Loading commit data...
proxyd Loading commit data...
specs Loading commit data...
ufm-test-services Loading commit data...
.coderabbit.yml Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.envrc.example Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.npmrc Loading commit data...
.nvmrc Loading commit data...
.pnpmfile.cjs Loading commit data...
.prettierrc.js Loading commit data...
.semgrepignore Loading commit data...
.shellcheckrc Loading commit data...
.snyk Loading commit data...
CITATION.cff Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
cloudbuild.yaml Loading commit data...
codecov.yml Loading commit data...
docker-bake.hcl Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
nx.json Loading commit data...
package.json Loading commit data...
pnpm-lock.yaml Loading commit data...
pnpm-workspace.yaml Loading commit data...
tsconfig.json Loading commit data...
versions.json Loading commit data...