From 3e393027b46dce9a9c97b9767f10922b3544a872 Mon Sep 17 00:00:00 2001 From: lemmih Date: Sat, 22 Jul 2023 13:15:12 +0200 Subject: [PATCH 1/2] update checkpoint issue template to reflect the new archive command --- .github/CHECKPOINT_ISSUE_TEMPLATE.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/CHECKPOINT_ISSUE_TEMPLATE.md b/.github/CHECKPOINT_ISSUE_TEMPLATE.md index 9591785383a..72ea75f088c 100644 --- a/.github/CHECKPOINT_ISSUE_TEMPLATE.md +++ b/.github/CHECKPOINT_ISSUE_TEMPLATE.md @@ -9,10 +9,11 @@ Checkpoints have to be regularly updated, though, and this issue is automaticall How to compute a new checkpoint for calibnet: -1. Install Forest and connect to the calibnet: `forest --chain calibnet --encrypt-keystore false` -2. Wait for Forest to catch up to the network: `forest-cli sync wait` -3. Compute new checkpoint hash: `forest-cli chain tipset-hash` -4. Add the checkpoint hash to the checkpoint [yaml file][yaml]. +1. Install `forest-cli` +2. Download calibnet snapshot: `forest-cli --chain calibnet snapshot fetch` +3. Decompress snapshot: `zstd -d forest_snapshot_calibnet_*.car.zst` +4. Extract checkpoints: `forest-cli archive checkpoints forest_snapshot_calibnet_*.car.zst` +5. Put checkpoints in `build/known_blocks.yaml` For mainnet, run the same commands but use `--chain mainnet` instead of `--chain calibnet`. From 42ed66c26bf33b651a3e74727e96f226eb4359ca Mon Sep 17 00:00:00 2001 From: lemmih Date: Sat, 22 Jul 2023 13:17:04 +0200 Subject: [PATCH 2/2] fix file extension --- .github/CHECKPOINT_ISSUE_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CHECKPOINT_ISSUE_TEMPLATE.md b/.github/CHECKPOINT_ISSUE_TEMPLATE.md index 72ea75f088c..83c8aa0fae2 100644 --- a/.github/CHECKPOINT_ISSUE_TEMPLATE.md +++ b/.github/CHECKPOINT_ISSUE_TEMPLATE.md @@ -12,7 +12,7 @@ How to compute a new checkpoint for calibnet: 1. Install `forest-cli` 2. Download calibnet snapshot: `forest-cli --chain calibnet snapshot fetch` 3. Decompress snapshot: `zstd -d forest_snapshot_calibnet_*.car.zst` -4. Extract checkpoints: `forest-cli archive checkpoints forest_snapshot_calibnet_*.car.zst` +4. Extract checkpoints: `forest-cli archive checkpoints forest_snapshot_calibnet_*.car` 5. Put checkpoints in `build/known_blocks.yaml` For mainnet, run the same commands but use `--chain mainnet` instead of `--chain calibnet`.