Skip to content

Commit

Permalink
chore: butterflynet reset
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Feb 27, 2025
1 parent 883dd0f commit b8d1d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/networks/butterflynet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ pub async fn fetch_genesis<DB: SettingsStore>(db: &DB) -> anyhow::Result<Vec<u8>

/// Genesis CID
pub static GENESIS_CID: Lazy<Cid> = Lazy::new(|| {
Cid::from_str("bafy2bzacecm7xklkq3hkc2kgm5wnb5shlxmffino6lzhh7lte5acytb7sssr4").unwrap()
Cid::from_str("bafy2bzacec4pxatmag56xwfpniagbeygezmz36basxkxiwc7cex7hg6lymr64").unwrap()
});

/// Compressed genesis file. It is compressed with zstd and cuts the download size by 80% (from 10 MB to 2 MB).
static GENESIS_URL: Lazy<Url> = Lazy::new(|| {
"https://forest-snapshots.fra1.cdn.digitaloceanspaces.com/genesis/butterflynet-bafy2bzacecm7xklkq3hkc2kgm5wnb5shlxmffino6lzhh7lte5acytb7sssr4.car.zst"
"https://forest-snapshots.fra1.cdn.digitaloceanspaces.com/genesis/butterflynet-bafy2bzacec4pxatmag56xwfpniagbeygezmz36basxkxiwc7cex7hg6lymr64.car.zst"
.parse()
.expect("hard-coded URL must parse")
});
Expand Down

0 comments on commit b8d1d94

Please sign in to comment.