Skip to content

Commit

Permalink
optimism: add l1 genesis timestamp flag
Browse files Browse the repository at this point in the history
  • Loading branch information
protolambda authored and mslipper committed Sep 8, 2022
1 parent d657c7d commit 0fc0cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/op-contracts/scripts/config_l1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -eu
cd /hive/optimism/packages/contracts-bedrock

# generate L1 config, redirect standard output to stderr, we output the result as json to stdout later
npx hardhat --network hivenet genesis-l1 --outfile genesis-l1.json 1>&2
npx hardhat --network hivenet genesis-l1 --l1-genesis-block-timestamp $1 --outfile genesis-l1.json 1>&2

cat genesis-l1.json
2 changes: 1 addition & 1 deletion clients/op-contracts/scripts/deploy_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -eu
cd /hive/optimism/packages/contracts-bedrock

# Deploy config is provided as first script argument
echo "$1" > deploy-config/hivenet_data.json
echo "$1" > deploy-config/hivenet.json

0 comments on commit 0fc0cda

Please sign in to comment.