Skip to content

Commit

Permalink
Folder and timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarof2 committed Apr 16, 2024
1 parent 2d5df23 commit bc67013
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,14 @@ jobs:
- name: Generate genesis files
run: |
mkdir l2-config-files/$DEPLOYMENT_CONTEXT
openssl rand -hex 32 > l2-config-files/$DEPLOYMENT_CONTEXT/jwt-$(date +%s).txt
cd op-node
go run cmd/main.go genesis l2 \
--deploy-config ../packages/contracts-bedrock/deploy-config/$DEPLOYMENT_CONTEXT.json \
--l1-deployments ../packages/contracts-bedrock/deployments/$DEPLOYMENT_CONTEXT/.deploy \
--outfile.l2 genesis.json \
--outfile.rollup rollup.json \
--outfile.l2 ../l2-config-files/$DEPLOYMENT_CONTEXT/genesis-$(date +%s).json \
--outfile.rollup ../l2-config-files/$DEPLOYMENT_CONTEXT/rollup-$(date +%s).json \
--l1-rpc $L1_RPC_URL
- name: "Commit genesis files"
Expand Down

0 comments on commit bc67013

Please sign in to comment.