Skip to content

Commit a275d7a

Browse files
committed
feat(genesis): add pecorino host genesis file
we also need the local one, and the mainnet one
1 parent 80d7c1a commit a275d7a

File tree

2 files changed

+949
-0
lines changed

2 files changed

+949
-0
lines changed

crates/genesis/src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ pub const MAINNET_GENESIS_JSON: &str = include_str!("./mainnet.genesis.json");
2424
/// Pecorino genesis file.
2525
pub const PECORINO_GENESIS_JSON: &str = include_str!("./pecorino.genesis.json");
2626

27+
/// Pecorino host genesis file.
28+
pub const PECORINO_HOST_GENESIS_JSON: &str = include_str!("./pecorino.host.genesis.json");
29+
2730
/// Local genesis file for testing purposes.
2831
pub const TEST_GENESIS_JSON: &str = include_str!("./local.genesis.json");
2932

@@ -37,6 +40,11 @@ pub static PECORINO_GENESIS: LazyLock<Genesis> = LazyLock::new(|| {
3740
serde_json::from_str(PECORINO_GENESIS_JSON).expect("Failed to parse pecorino genesis")
3841
});
3942

43+
/// Genesis for the Pecorino host testnet.
44+
pub static PECORINO_HOST_GENESIS: LazyLock<Genesis> = LazyLock::new(|| {
45+
serde_json::from_str(PECORINO_HOST_GENESIS_JSON).expect("Failed to parse pecorino host genesis")
46+
});
47+
4048
/// Test genesis for local testing.
4149
pub static TEST_GENESIS: LazyLock<Genesis> = LazyLock::new(|| {
4250
serde_json::from_str(TEST_GENESIS_JSON).expect("Failed to parse test genesis")

0 commit comments

Comments
 (0)