Skip to content

Commit 73115a2

Browse files
committed
replace aria2c to wget
1 parent ab3a3e1 commit 73115a2

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ It support 4 steps to operate OP Stack node
2626
| op-sepolia ||||
2727
| base-mainnet ||||
2828
| base-sepolia ||||
29-
| worldchain-mainnet | |||
29+
| worldchain-mainnet | |||
3030
| worldchain-sepolia ||||
3131
| unichain-mainnet ||||
32-
| unichain-sepolia | |||
32+
| unichain-sepolia | |||
3333

3434
## Frequently Asked Questions
3535
**Q. I don`t have enough fee for faucet**

run/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN chmod +x /script/*.sh
3030
WORKDIR /app
3131

3232
RUN apt-get update && \
33-
apt-get install -y sudo jq curl aria2 && \
33+
apt-get install -y sudo jq curl wget && \
3434
rm -rf /var/lib/apt/lists
3535

3636
COPY --from=op /app/op-node/bin/op-node ./

run/snapshot/download_snapshot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ if [ -z "$URLS" ]; then
1111
exit 1
1212
fi
1313

14-
echo "$URLS" | xargs -n 1 -P 2 aria2c -x 4 -s 4 -d /data --retry-wait=10 --max-tries=3
14+
echo "$URLS" | xargs -n 1 -P 2 wget --retry-connrefused --waitretry=10 \
15+
--timeout=60 --tries=5 -P /data
16+
1517
echo "Download snapshot completed. Unpacking..."
1618

1719
for FILE in /data/*.tar.lz4; do

0 commit comments

Comments
 (0)