Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
creativcoder committed Aug 2, 2023
1 parent 13bd3b5 commit 0037c4e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions scripts/generate_checkpoints.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ echo "
# This file was generated with \\\`forest-cli archive checkpoints\\\`
# " > build/known_blocks.yaml

ls

echo "Disk space"
df -h

Expand All @@ -21,9 +23,13 @@ forest-cli --chain calibnet snapshot fetch
# populate checkpoints for calibnet
forest-cli archive checkpoints "$(find . -name "forest_snapshot_calibnet*.forest.car.zst")" >> build/known_blocks.yaml

cat build/known_blocks.yaml

rm "$(find . -name "forest_snapshot_calibnet*.forest.car.zst")"

# import mainnet snapshot
forest-cli --chain mainnet snapshot fetch
# populate checkpoints for mainnet
forest-cli archive checkpoints "$(find . -name "forest_snapshot_mainnet*.forest.car.zst")" >> build/known_blocks.yaml
ls

# # import mainnet snapshot
# forest-cli --chain mainnet snapshot fetch
# # populate checkpoints for mainnet
# forest-cli archive checkpoints "$(find . -name "forest_snapshot_mainnet*.forest.car.zst")" >> build/known_blocks.yaml

0 comments on commit 0037c4e

Please sign in to comment.