Skip to content

Commit 66cc68a

Browse files
authored
chore: butterflynet reset (#5361)
1 parent 4040189 commit 66cc68a

File tree

1 file changed

+3
-3
lines changed
  • src/networks/butterflynet

1 file changed

+3
-3
lines changed

src/networks/butterflynet/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ pub async fn fetch_genesis<DB: SettingsStore>(db: &DB) -> anyhow::Result<Vec<u8>
4040

4141
/// Genesis CID
4242
pub static GENESIS_CID: Lazy<Cid> = Lazy::new(|| {
43-
Cid::from_str("bafy2bzacecm7xklkq3hkc2kgm5wnb5shlxmffino6lzhh7lte5acytb7sssr4").unwrap()
43+
Cid::from_str("bafy2bzacec4pxatmag56xwfpniagbeygezmz36basxkxiwc7cex7hg6lymr64").unwrap()
4444
});
4545

4646
/// Compressed genesis file. It is compressed with zstd and cuts the download size by 80% (from 10 MB to 2 MB).
4747
static GENESIS_URL: Lazy<Url> = Lazy::new(|| {
48-
"https://forest-snapshots.fra1.cdn.digitaloceanspaces.com/genesis/butterflynet-bafy2bzacecm7xklkq3hkc2kgm5wnb5shlxmffino6lzhh7lte5acytb7sssr4.car.zst"
48+
"https://forest-snapshots.fra1.cdn.digitaloceanspaces.com/genesis/butterflynet-bafy2bzacec4pxatmag56xwfpniagbeygezmz36basxkxiwc7cex7hg6lymr64.car.zst"
4949
.parse()
5050
.expect("hard-coded URL must parse")
5151
});
@@ -55,7 +55,7 @@ static GENESIS_URL: Lazy<Url> = Lazy::new(|| {
5555
/// The genesis file does not live on the `master` branch, currently on `butterfly/v24` branch.
5656
/// `<https://github.com/filecoin-project/lotus/commit/36e6a639fd8411dd69048c95ac478468f2755b8d>`
5757
static GENESIS_URL_ALT: Lazy<Url> = Lazy::new(|| {
58-
"https://github.com/filecoin-project/lotus/raw/b15b3c40b9649e3bc52aa15968d558aa4514ba6a/build/genesis/butterflynet.car.zst".parse().expect("hard-coded URL must parse")
58+
"https://github.com/filecoin-project/lotus/raw/e2a790ef3ae8284a2ae52b0d7d18e4139ab909fc/build/genesis/butterflynet.car.zst".parse().expect("hard-coded URL must parse")
5959
});
6060

6161
pub(crate) const MINIMUM_CONSENSUS_POWER: i64 = 2 << 30;

0 commit comments

Comments
 (0)