Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJeremyHe committed Aug 16, 2024
1 parent f3a1d47 commit b246160
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ services:

l3node:
pid: host # allow debugging
image: nitro-node-dev-testnode
image: nitro-node-dev-testnode-l3
entrypoint: /usr/local/bin/nitro
ports:
- "127.0.0.1:3347:3347"
Expand Down
7 changes: 6 additions & 1 deletion scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ function writeL3ChainConfig(argv: any) {
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"espresso": argv.espresso,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
Expand All @@ -428,9 +429,13 @@ function writeL3ChainConfig(argv: any) {
"DataAvailabilityCommittee": false,
"InitialArbOSVersion": 30,
"InitialChainOwner": argv.l2owner,
"GenesisBlockNum": 0
"GenesisBlockNum": 0,
"EnableEspresso": false
}
}
if (argv.espresso) {
l3ChainConfig.arbitrum.EnableEspresso = true
}
const l3ChainConfigJSON = JSON.stringify(l3ChainConfig)
fs.writeFileSync(path.join(consts.configpath, "l3_chain_config.json"), l3ChainConfigJSON)
}
Expand Down

0 comments on commit b246160

Please sign in to comment.