• Mark Tyneway's avatar
    op-node: add sepolia config · f3bdc13f
    Mark Tyneway authored
    This should be double checked against the JSON file that was generated
    by the genesis command:
    
    ```
    {
      "genesis": {
        "l1": {
          "hash": "0x4b29002c963e450d79b5acec0649654f9b806cc5b2fe3dfafac2e5379bea1653",
          "number": 3969582
        },
        "l2": {
          "hash": "0x96c6b5aa7836051bdef7527cc935a9837edfe16aba735259e54af407bb41dd84",
          "number": 0
        },
        "l2_time": 1690397376,
        "system_config": {
          "batcherAddr": "0x7431310e026b69bfc676c0013e12a1a11411eec9",
          "overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
          "scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
          "gasLimit": 30000000
        }
      },
      "block_time": 2,
      "max_sequencer_drift": 600,
      "seq_window_size": 3600,
      "channel_timeout": 300,
      "l1_chain_id": 11155111,
      "l2_chain_id": 11155420,
      "regolith_time": 0,
      "batch_inbox_address": "0xff00000000000000000000000000000011155420",
      "deposit_contract_address": "0xb31e909cb6f7e873891e146967759f0140f420a8",
      "l1_system_config_address": "0xc6a8e082fd9124e6175791086f448d61d95ca4a2"
    }
    ```
    
    The values should be a combination of values used for goerli as well
    as values used on mainnet. The batcher addr is the goerli value, the
    scalar, overhead and gas limit are mainnet values.
    
    We need to double check that the genesis L1 block ref was not reorg'd
    out before committing to this.
    
    Regolith is activated at genesis, the batch inbox address follows the
    "correct" schema, the deposit and system config addresses should be
    referenced against the artifacts found in https://github.com/ethereum-optimism/optimism/pull/6428
    
    The chain id for sepolia should be checked and the L2 chain id is
    unused.
    
    The max seq drift, seq window size and channel timeout are all
    copied from goerli.
    f3bdc13f
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...
endpoint-monitor Loading commit data...
indexer Loading commit data...
op-batcher Loading commit data...
op-bindings Loading commit data...
op-bootnode Loading commit data...
op-chain-ops Loading commit data...
op-challenger Loading commit data...
op-e2e Loading commit data...
op-exporter Loading commit data...
op-heartbeat Loading commit data...
op-node Loading commit data...
op-preimage Loading commit data...
op-program Loading commit data...
op-proposer Loading commit data...
op-service Loading commit data...
op-signer 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...
patches Loading commit data...
proxyd Loading commit data...
specs Loading commit data...
technical-documents Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.foundryrc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.markdownlint.json Loading commit data...
.npmrc Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.semgrepignore 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...
go.mod Loading commit data...
go.sum Loading commit data...
lerna.json 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...