Set option to log commands in shell scripts

This commit is contained in:
Prathamesh Musale 2023-04-03 14:30:11 +05:30
parent fea6c5578b
commit ad1f952107
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
set -e
set -e -x
op-node genesis l2 \
--deploy-config /contracts-bedrock/deploy-config/getting-started.json \

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -e
set -e -x
# TODO Support restarts; fixturenet-eth-geth currently starts fresh on a restart
# Exit if a deployment already exists (on restarts)

View File

@ -1,5 +1,5 @@
#!/bin/sh
set -e
set -e -x
# Get BACTHER_KEY from keys.json
BATCHER_KEY=$(jq -r '.Batcher.privateKey' /l2-accounts/keys.json | tr -d '"')

View File

@ -1,5 +1,5 @@
#!/bin/sh
set -e
set -e -x
mkdir datadir

View File

@ -1,5 +1,5 @@
#!/bin/sh
set -e
set -e -x
# Get SEQUENCER KEY from keys.json
SEQUENCER_KEY=$(jq -r '.Sequencer.privateKey' /l2-accounts/keys.json | tr -d '"')