Skip to content

Commit

Permalink
Set Nu7 as a network update for testnet in zebra-chain network tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmidem committed Oct 17, 2024
1 parent e8abddd commit 23d9e77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions zebra-chain/src/parameters/network/tests/vectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ fn activates_network_upgrades_correctly() {
let expected_activation_height = 1;
let network = testnet::Parameters::build()
.with_activation_heights(ConfiguredActivationHeights {
// FIXME: nu7?
nu6: Some(expected_activation_height),
nu7: Some(expected_activation_height),
..Default::default()
})
.to_network();
Expand Down
4 changes: 2 additions & 2 deletions zebra-chain/src/parameters/network_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ pub(super) const TESTNET_ACTIVATION_HEIGHTS: &[(block::Height, NetworkUpgrade)]
(block::Height(1_028_500), Canopy),
(block::Height(1_842_420), Nu5),
(block::Height(2_976_000), Nu6),
// FIXME: TODO: Add NU7 with a correct value
// (block::Height(2_942_001), Nu7),
// FIXME: TODO: Set a correct value for NU7
(block::Height(2_942_001), Nu7),
];

/// Fake testnet network upgrade activation heights, used in tests.
Expand Down

0 comments on commit 23d9e77

Please sign in to comment.