File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ forge script scripts/deploy/Deploy.s.sol:Deploy \
1313
1414echo " [deploy contract done!]"
1515
16- cd ~ /optimism/packages/contracts-bedrock && \
1716CONTRACT_ADDRESSES_PATH=" ./deployments/$L1_CHAIN_ID -deploy.json" \
1817DEPLOY_CONFIG_PATH=" ./deployments/$DEPLOYMENT_CONTEXT /.deploy" \
1918forge script scripts/L2Genesis.s.sol:L2Genesis \
Original file line number Diff line number Diff line change 44echo " [5/5] : export genesis files"
55
66cd ~ /optimism/op-node
7- go run cmd/main.go genesis l2 \
7+ ./bin/op-node genesis l2 \
88 --deploy-config ../packages/contracts-bedrock/deployments/$DEPLOYMENT_CONTEXT /.deploy \
99 --l1-deployments ../packages/contracts-bedrock/deployments/$L1_CHAIN_ID -deploy.json \
1010 --outfile.l2 /config/genesis.json \
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ RUN mkdir -p ~/optimism && cd ~/optimism && \
2727 git clone $OP_REPO --depth 1 --branch $OP_VERSION --single-branch . && \
2828 git switch -c $OP_VERSION && \
2929 git submodule update --init --recursive --depth 1 && \
30- go mod download && go mod tidy
30+ go mod download && go mod tidy && \
31+ make -C op-node VERSION=$OP_VERSION op-node
3132
3233COPY *.sh /script/
3334RUN chmod +x /script/*.sh
You can’t perform that action at this time.
0 commit comments