File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2407,20 +2407,20 @@ fn mock_miner_message_epoch_25() {
2407
2407
. clone ( )
2408
2408
. unwrap ( ) ;
2409
2409
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 ;
2412
2411
2413
2412
signer_test. boot_to_epoch_25_reward_cycle ( ) ;
2414
2413
2415
2414
info ! ( "------------------------- Test Processing Epoch 2.5 Tenures -------------------------" ) ;
2416
2415
let miners_stackerdb_contract = boot_code_id ( MINERS_NAME , false ) ;
2417
2416
let main_poll_time = Instant :: now ( ) ;
2418
2417
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.
2419
2419
while signer_test
2420
2420
. running_nodes
2421
2421
. btc_regtest_controller
2422
2422
. get_headers_height ( )
2423
- < epoch_3_start_height
2423
+ < epoch_3_boundary
2424
2424
{
2425
2425
let mock_poll_time = Instant :: now ( ) ;
2426
2426
next_block_and (
You can’t perform that action at this time.
0 commit comments