Skip to content

Commit

Permalink
Merge pull request #5 from EspressoSystems/test-node-validation
Browse files Browse the repository at this point in the history
Misc. espresso configuration options
  • Loading branch information
nomaxg authored Dec 7, 2023
2 parents df108cb + 2e28f3d commit 42af8f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ function writeL2ChainConfig(argv: any) {
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"espresso": argv.espresso,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
Expand Down
1 change: 1 addition & 0 deletions scripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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'`
Expand Down

0 comments on commit 42af8f0

Please sign in to comment.