Skip to content

Commit 4255137

Browse files
committed
use compiled binary
1 parent f78a359 commit 4255137

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

init/4_deploy_contract.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ forge script scripts/deploy/Deploy.s.sol:Deploy \
1313

1414
echo "[deploy contract done!]"
1515

16-
cd ~/optimism/packages/contracts-bedrock && \
1716
CONTRACT_ADDRESSES_PATH="./deployments/$L1_CHAIN_ID-deploy.json" \
1817
DEPLOY_CONFIG_PATH="./deployments/$DEPLOYMENT_CONTEXT/.deploy" \
1918
forge script scripts/L2Genesis.s.sol:L2Genesis \

init/5_export_genesis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eu
44
echo "[5/5] : export genesis files"
55

66
cd ~/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 \

init/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

3233
COPY *.sh /script/
3334
RUN chmod +x /script/*.sh

0 commit comments

Comments
 (0)