File tree Expand file tree Collapse file tree 2 files changed +949
-0
lines changed
Expand file tree Collapse file tree 2 files changed +949
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ pub const MAINNET_GENESIS_JSON: &str = include_str!("./mainnet.genesis.json");
2424/// Pecorino genesis file.
2525pub 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.
2831pub 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.
4149pub static TEST_GENESIS : LazyLock < Genesis > = LazyLock :: new ( || {
4250 serde_json:: from_str ( TEST_GENESIS_JSON ) . expect ( "Failed to parse test genesis" )
You can’t perform that action at this time.
0 commit comments