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 7b8dfc3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checkpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build-ubuntu:
name: Build Ubuntu
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
# To help investigate transient test failures
- run: lscpu
Expand Down
6 changes: 6 additions & 0 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

pwd

echo "Disk space"
df -h

Expand All @@ -23,7 +25,11 @@ forest-cli archive checkpoints "$(find . -name "forest_snapshot_calibnet*.forest

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

cat build/known_blocks.yaml

# 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

cat build/known_blocks.yaml

0 comments on commit 7b8dfc3

Please sign in to comment.