Skip to content

Commit

Permalink
use compiled binary
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitprincess committed Jul 28, 2024
1 parent f78a359 commit 4255137
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion init/4_deploy_contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ forge script scripts/deploy/Deploy.s.sol:Deploy \

echo "[deploy contract done!]"

cd ~/optimism/packages/contracts-bedrock && \
CONTRACT_ADDRESSES_PATH="./deployments/$L1_CHAIN_ID-deploy.json" \
DEPLOY_CONFIG_PATH="./deployments/$DEPLOYMENT_CONTEXT/.deploy" \
forge script scripts/L2Genesis.s.sol:L2Genesis \
Expand Down
2 changes: 1 addition & 1 deletion init/5_export_genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu
echo "[5/5] : export genesis files"

cd ~/optimism/op-node
go run cmd/main.go genesis l2 \
./bin/op-node genesis l2 \
--deploy-config ../packages/contracts-bedrock/deployments/$DEPLOYMENT_CONTEXT/.deploy \
--l1-deployments ../packages/contracts-bedrock/deployments/$L1_CHAIN_ID-deploy.json \
--outfile.l2 /config/genesis.json \
Expand Down
3 changes: 2 additions & 1 deletion init/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ RUN mkdir -p ~/optimism && cd ~/optimism && \
git clone $OP_REPO --depth 1 --branch $OP_VERSION --single-branch . && \
git switch -c $OP_VERSION && \
git submodule update --init --recursive --depth 1 && \
go mod download && go mod tidy
go mod download && go mod tidy && \
make -C op-node VERSION=$OP_VERSION op-node

COPY *.sh /script/
RUN chmod +x /script/*.sh
Expand Down

0 comments on commit 4255137

Please sign in to comment.