Skip to content

Commit b11dd08

Browse files
committed
Base. Fixes in handling snapshot download from Cloudflare
1 parent ec2d273 commit b11dd08

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

lib/base/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ BASE_L1_EXECUTION_ENDPOINT="https://ethereum-sepolia-rpc.publicnode.com"
132132
BASE_L1_CONSENSUS_ENDPOINT="https://ethereum-sepolia-beacon-api.publicnode.com"
133133
```
134134
135-
2. Deploy Base RPC Node and wait for it to sync. For Mainnet it might a day when using snapshots or about a week if syncing from block 0. You can use snapshots provided by the Base team by setting `BASE_RESTORE_FROM_SNAPSHOT="true"` in `.env` file.
135+
2. Deploy Base RPC Node and wait for it to sync. For Full node on Mainnet it might take a day when using snapshots or about a week if syncing from block 0. You can use snapshots provided by the Base team by setting `BASE_RESTORE_FROM_SNAPSHOT="true"` in `.env` file.
136136

137137
```bash
138138
pwd

lib/base/lib/assets/user-data/node.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,9 @@ if [ "$RESTORE_FROM_SNAPSHOT" == "false" ]; then
300300
systemctl daemon-reload
301301
systemctl enable --now base
302302
else
303-
if [ "$NODE_CONFIG" == "archive" ]; then
304-
echo "Restoring archive node from snapshot over s3"
305-
chmod +x /opt/restore-from-snapshot-archive-s3.sh
306-
echo "/opt/restore-from-snapshot-archive-s3.sh" | at now + 1 min
307-
else
308-
echo "Restoring full node from snapshot over http"
309-
chmod +x /opt/restore-from-snapshot-http.sh
310-
echo "/opt/restore-from-snapshot-http.sh" | at now + 1 min
311-
fi
303+
echo "Restoring full node from snapshot over http"
304+
chmod +x /opt/restore-from-snapshot-http.sh
305+
echo "/opt/restore-from-snapshot-http.sh" | at now + 1 min
312306
fi
313307

314308
if [[ "$LIFECYCLE_HOOK_NAME" != "none" ]]; then

lib/base/single-archive-node-deploy.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)