Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
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
8 changes: 4 additions & 4 deletions celestia-node-entrypoint
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -eu
celestia light init \
--p2p.network $CELESTIA_P2P_NETWORK \

sed -i 's/StartupTimeout = "[^"]*"/StartupTimeout = "3000s"/' /home/celestia/.celestia-light/config.toml
sed -i 's/ShutdownTimeout = "[^"]*"/ShutdownTimeout = "3000s"/' /home/celestia/.celestia-light/config.toml
awk '/^\[RPC\]/ {block="RPC"} /^\[Gateway\]/ {block="Gateway"} block == "RPC" && $1 == "Address" {gsub(/".*"/, "\"0.0.0.0\"")} block == "Gateway" && $1 == "Address" {gsub(/".*"/, "\"0.0.0.0\"")} 1' /home/celestia/.celestia-light/config.toml > /home/celestia/temp
mv /home/celestia/temp /home/celestia/.celestia-light/config.toml
sed -i 's/StartupTimeout = "[^"]*"/StartupTimeout = "3000s"/' /home/celestia/.celestia-light-mocha-4/config.toml
sed -i 's/ShutdownTimeout = "[^"]*"/ShutdownTimeout = "3000s"/' /home/celestia/.celestia-light-mocha-4/config.toml
awk '/^\[RPC\]/ {block="RPC"} /^\[Gateway\]/ {block="Gateway"} block == "RPC" && $1 == "Address" {gsub(/".*"/, "\"0.0.0.0\"")} block == "Gateway" && $1 == "Address" {gsub(/".*"/, "\"0.0.0.0\"")} 1' /home/celestia/.celestia-light-mocha-4/config.toml > /home/celestia/temp
mv /home/celestia/temp /home/celestia/.celestia-light-mocha-4/config.toml

exec celestia light start \
--p2p.network=$CELESTIA_P2P_NETWORK \
Expand Down
2 changes: 1 addition & 1 deletion celestia-op-node.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

ENV REPO=https://github.com/celestiaorg/optimism.git
# for verification:
ENV COMMIT=v1.1.0-OP_op-batcher/v1.4.2-CN_v0.12.4
ENV COMMIT=v1.2.0-OP_v1.7.0-CN_v0.12.4

RUN git clone $REPO . --branch $COMMIT

Expand Down
2 changes: 1 addition & 1 deletion download-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def fetch_data(api_path, slug):
exit(1)

try:
env_file = ENV_TEMPLATE.format(rpc_url=f'https://rpc-{args.slug}.{CONDUIT_RPC_SUFFIX}', bootnodes=bootnodes, staticPeers=staticPeers)
env_file = ENV_TEMPLATE.format(rpc_url=f'https://rpc-razor-base-l3-5jqknrb11y.t.conduit.xyz', bootnodes=bootnodes, staticPeers=staticPeers)
with open(slug_dir / '.env', 'w') as f:
f.write(env_file)
except Exception as e:
Expand Down
Loading