diff --git a/scripts/config.ts b/scripts/config.ts index d4dd0cec..985240a5 100644 --- a/scripts/config.ts +++ b/scripts/config.ts @@ -332,6 +332,7 @@ function writeL2ChainConfig(argv: any) { "eip150Block": 0, "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", "eip155Block": 0, + "espresso": argv.espresso, "eip158Block": 0, "byzantiumBlock": 0, "constantinopleBlock": 0, diff --git a/scripts/index.ts b/scripts/index.ts index b919f788..a71c6939 100644 --- a/scripts/index.ts +++ b/scripts/index.ts @@ -31,6 +31,7 @@ async function main() { .options({ espresso: { boolean: true, decription: 'use Espresso Sequencer for sequencing and DA', default: false }, espressoUrl: { string: true, description: 'Espresso Sequencer url', default: 'http://espresso-sequencer0:50000' }, + hotshotAddress: { sring: true, description: 'address of the HotShot contract', default: '' } }) .command(bridgeFundsCommand) .command(bridgeToL3Command) diff --git a/test-node.bash b/test-node.bash index 8539f19b..edadbdb6 100755 --- a/test-node.bash +++ b/test-node.bash @@ -309,7 +309,7 @@ if $force_init; then docker-compose run scripts send-l1 --ethamount 0.0001 --from user_l1user --to user_l1user_b --wait --delay 500 --times 500 > /dev/null & echo == Writing l2 chain config - docker-compose run scripts write-l2-chain-config + docker-compose run scripts write-l2-chain-config --espresso $espresso echo == Deploying L2 sequenceraddress=`docker-compose run scripts print-address --account sequencer | tail -n 1 | tr -d '\r\n'`