Skip to content

Commit

Permalink
ci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
creativcoder committed Aug 2, 2023
1 parent 783fffc commit fffddd9
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions scripts/generate_checkpoints.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
# This script is checking the correctness of
# the snapshot export feature.
# This script updates the snapshot checkpoints in build/known_blocks.yaml.
# It requires `forest-cli` binary to be in the PATH.

echo "
Expand All @@ -16,16 +15,8 @@ echo "

# import calibnet snapshot
forest-cli --chain calibnet snapshot fetch
# import mainnet snapshot
# forest-cli --chain mainnet snapshot fetch
# zstd -d forest_snapshot_calibnet_*.car.zst
# zstd -d forest_snapshot_mainnet_*.car.zst

# populate checkpoints for calibnet
forest-cli archive checkpoints $(find . -name "forest_snapshot_calibnet*.forest.car.zst") >> build/known_blocks.yaml
forest-cli archive checkpoints "$(find . -name "forest_snapshot_calibnet*.forest.car.zst")" >> build/known_blocks.yaml

# forest-cli archive checkpoints ./forest_snapshot_mainnet_*.car

# 5. Put checkpoints in `build/known_blocks.yaml`


0 comments on commit fffddd9

Please sign in to comment.