Skip to content

Commit 066514a

Browse files
committedNov 11, 2024
Rename testnet_genesis function to devnet_* in devnet config
1 parent fff8d54 commit 066514a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎node/src/chain_spec/devnet.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn devnet_config() -> Result<ChainSpec, String> {
2323
.with_protocol_id("bittensor")
2424
.with_id("bittensor")
2525
.with_chain_type(ChainType::Development)
26-
.with_genesis_config_patch(testnet_genesis(
26+
.with_genesis_config_patch(devnet_genesis(
2727
// Initial PoA authorities (Validators)
2828
// aura | grandpa
2929
vec![
@@ -68,7 +68,7 @@ pub fn devnet_config() -> Result<ChainSpec, String> {
6868

6969
// Configure initial storage state for FRAME modules.
7070
#[allow(clippy::too_many_arguments)]
71-
fn testnet_genesis(
71+
fn devnet_genesis(
7272
initial_authorities: Vec<(AuraId, GrandpaId)>,
7373
root_key: AccountId,
7474
_endowed_accounts: Vec<AccountId>,

0 commit comments

Comments
 (0)
Failed to load comments.