Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deploy-scripts/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ BATCHER_PUBLIC_ADDRESS=
BATCHER_PRIVATE_KEY=
PROPOSER_PUBLIC_ADDRESS=
PROPOSER_PRIVATE_KEY=
RPC_KIND=
RPC_KIND=
MONOREPO_VER=
OP_GETH_VER=
4 changes: 4 additions & 0 deletions deploy-scripts/opstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ check_parameter "BATCHER_PRIVATE_KEY" "$BATCHER_PUBLIC_ADDRESS"
check_parameter "PROPOSER_PUBLIC_ADDRESS" "$PROPOSER_PUBLIC_ADDRESS"
check_parameter "PROPOSER_PRIVATE_KEY" "$PROPOSER_PRIVATE_KEY"
check_parameter "RPC_KIND" "$RPC_KIND"
check_parameter "MONOREPO_VER" "$MONOREPO_VER"
check_parameter "OP_GETH_VER" "$OP_GETH_VER"

echo "Cloning Optimism repository"
# Clone and install Optimism
Expand All @@ -114,6 +116,7 @@ else
git clone --recurse-submodules https://github.com/ethereum-optimism/optimism.git
fi
cd optimism
git checkout $MONOREPO_VER
# Disable immediate exit on error
set +e

Expand All @@ -140,6 +143,7 @@ else
git clone https://github.com/ethereum-optimism/op-geth.git
fi
cd op-geth
git checkout $OP_GETH_VER
make geth

# Set ETH_RPC_URL environment variable
Expand Down
4 changes: 4 additions & 0 deletions deploy-scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ check_parameter "BATCHER_PRIVATE_KEY" "$BATCHER_PUBLIC_ADDRESS"
check_parameter "PROPOSER_PUBLIC_ADDRESS" "$PROPOSER_PUBLIC_ADDRESS"
check_parameter "PROPOSER_PRIVATE_KEY" "$PROPOSER_PRIVATE_KEY"
check_parameter "RPC_KIND" "$RPC_KIND"
check_parameter "MONOREPO_VER" "$MONOREPO_VER"
check_parameter "OP_GETH_VER" "$OP_GETH_VER"

echo "Cloning Optimism repository"
# Clone and install Optimism
Expand All @@ -48,6 +50,7 @@ else
git clone --recurse-submodules https://github.com/ethereum-optimism/optimism.git
fi
cd optimism
git checkout $MONOREPO_VER
# Disable immediate exit on error
set +e

Expand All @@ -74,6 +77,7 @@ else
git clone https://github.com/ethereum-optimism/op-geth.git
fi
cd op-geth
git checkout $OP_GETH_VER
make geth

# Set ETH_RPC_URL environment variable
Expand Down