Skip to content

Commit

Permalink
updates stored test configs and fixes network_name() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Apr 18, 2024
1 parent b3ac9f0 commit 736572c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-chain/src/parameters/network/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ impl Parameters {
self == &Self::default()
}

/// Returns the network upgrade activation heights
/// Returns the network name
pub fn network_name(&self) -> &str {
&self.network_name
}
Expand Down
3 changes: 3 additions & 0 deletions zebrad/tests/common/configs/v1.7.0.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ max_connections_per_ip = 1
network = "Testnet"
peerset_initial_target_size = 25

[network.testnet_parameters]
network_name = "ConfiguredTestnet_1"

[network.testnet_parameters.activation_heights]
BeforeOverwinter = 1
Overwinter = 207_500
Expand Down

0 comments on commit 736572c

Please sign in to comment.