Skip to content

Commit 37a2533

Browse files
committed
WIP: need to fix stacks tip consensus hash and stacks tip
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent b597a11 commit 37a2533

File tree

1 file changed

+3
-3
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+3
-3
lines changed

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2407,20 +2407,20 @@ fn mock_miner_message_epoch_25() {
24072407
.clone()
24082408
.unwrap();
24092409
let epoch_3 = &epochs[StacksEpoch::find_epoch_by_id(&epochs, StacksEpochId::Epoch30).unwrap()];
2410-
let epoch_3_start_height = epoch_3.start_height;
2411-
debug!("Epoch 3.0 starts at height {}", epoch_3_start_height);
2410+
let epoch_3_boundary = epoch_3.start_height - 1;
24122411

24132412
signer_test.boot_to_epoch_25_reward_cycle();
24142413

24152414
info!("------------------------- Test Processing Epoch 2.5 Tenures -------------------------");
24162415
let miners_stackerdb_contract = boot_code_id(MINERS_NAME, false);
24172416
let main_poll_time = Instant::now();
24182417
let mut mock_miner_message = None;
2418+
// Only advance to the boundary as the epoch 2.5 miner will be shut down at this point.
24192419
while signer_test
24202420
.running_nodes
24212421
.btc_regtest_controller
24222422
.get_headers_height()
2423-
< epoch_3_start_height
2423+
< epoch_3_boundary
24242424
{
24252425
let mock_poll_time = Instant::now();
24262426
next_block_and(

0 commit comments

Comments
 (0)