Skip to content

Commit 4712a9f

Browse files
authored
chore: use default links of v2 snapshots (#6209)
1 parent 91f4ed1 commit 4712a9f

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

docs/docs/users/filecoin_services.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,10 @@ Mainnet bootstrap nodes' status can be checked at [probelab.io/bootstrappers/fil
7171

7272
The latest snapshots are required for new nodes to sync with the network. The snapshots are updated hourly and are available on [this site](https://forest-archive.chainsafe.dev/).
7373

74-
To download the latest snapshots (`v2` by default), use [`mainnet-latest`](https://forest-archive.chainsafe.dev/latest/mainnet) and [`calibnet-latest`](https://forest-archive.chainsafe.dev/latest/calibnet).
74+
To download the latest snapshots (`v2` by default, as outlined in [`FRC-108`](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0108.md)) use:
7575

76-
To download the latest `v1` snapshots, use [`mainnet-latest-v1`](https://forest-archive.chainsafe.dev/latest-v1/mainnet) and [`calibnet-latest-v1`](https://forest-archive.chainsafe.dev/latest-v1/calibnet).
77-
78-
To download the latest `v2` snapshots (same as latest), use [`mainnet-latest-v2`](https://forest-archive.chainsafe.dev/latest-v2/mainnet) and [`calibnet-latest-v2`](https://forest-archive.chainsafe.dev/latest-v2/calibnet).
79-
80-
A `v2` snapshot contains F3 data while a `v1` snapshot does not. For details, checkout [`FRC-0108`](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0108.md).
76+
- [`mainnet-latest`](https://forest-archive.chainsafe.dev/latest/mainnet)
77+
- [`calibnet-latest`](https://forest-archive.chainsafe.dev/latest/calibnet)
8178

8279
## Filecoin Archive
8380

scripts/tests/calibnet_export_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ source "$(dirname "$0")/harness.sh"
1212
forest_init "$@"
1313

1414
retries=10
15-
sleep_interval=0.1
15+
sleep_interval=0.5
1616

1717
echo "Cleaning up the initial snapshot"
1818
rm --force --verbose ./*.{car,car.zst,sha256sum}

src/cli_shared/snapshot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ macro_rules! define_urls {
134134
define_urls!(
135135
const FOREST_MAINNET_COMPRESSED: &str = "https://forest-archive.chainsafe.dev/latest/mainnet/";
136136
const FOREST_CALIBNET_COMPRESSED: &str =
137-
"https://forest-archive.chainsafe.dev/latest-v1/calibnet";
137+
"https://forest-archive.chainsafe.dev/latest/calibnet/";
138138
);
139139

140140
pub fn stable_url(vendor: TrustedVendor, chain: &NetworkChain) -> anyhow::Result<Url> {

0 commit comments

Comments
 (0)