Skip to content

Commit

Permalink
docs(genesis): improve testnet genesis spec comments
Browse files Browse the repository at this point in the history
  • Loading branch information
al3mart committed Feb 17, 2025
1 parent f9fa9af commit 3344fc8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub mod testnet {
}
}

/// Configures a development chain running on a single node, using the devnet runtime.
/// Configures a development chain running on a single node, using the testnet runtime.
pub fn development_chain_spec() -> ChainSpec {
const ID: &str = TESTNET_DEV;
Runtime::build(
Expand All @@ -159,15 +159,14 @@ pub mod testnet {
)
}

/// Configures a local chain running on multiple nodes for testing purposes, using the devnet
/// Configures a local chain running on multiple nodes for testing purposes, using the testnet
/// runtime.
pub fn local_chain_spec() -> ChainSpec {
const ID: &str = TESTNET_LOCAL;
Runtime::build(ID, "POP Testnet (Local)", ChainType::Local, ID, ID, "paseo-local")
}

/// Configures a live chain running on multiple nodes on private devnet, using the devnet
/// runtime.
/// Configures a live chain running on multiple nodes, using the testnet runtime.
pub fn live_chain_spec() -> ChainSpec {
const ID: &str = TESTNET;
Runtime::build(ID, "POP Testnet", ChainType::Live, ID, ID, "paseo")
Expand Down

0 comments on commit 3344fc8

Please sign in to comment.