File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18335,14 +18335,17 @@ fn signer_loads_stackerdb_updates_on_startup() {
18335
18335
// Wait until signer boots up BEFORE proposing the next block
18336
18336
miners.signer_test.wait_for_registered();
18337
18337
info!("------------------------- Miner B Mines Block N+2 (Transfer) -------------------------");
18338
+ let (accepting, ignoring) = all_signers.split_at(4);
18339
+ // Make some of the signers ignore so that we CANNOT advance without approval from the restarted signer (its at index 0)
18340
+ TEST_IGNORE_ALL_BLOCK_PROPOSALS.set(ignoring.into());
18338
18341
miners.send_transfer_tx();
18339
18342
let block_n_2 =
18340
18343
wait_for_block_pushed_by_miner_key(30, chain_after.stacks_tip_height + 2, &miner_pk_2)
18341
18344
.expect("Failed to mine block N+2");
18342
18345
wait_for_block_acceptance_from_signers(
18343
18346
30,
18344
18347
&block_n_2.header.signer_signature_hash(),
18345
- &all_signers ,
18348
+ &accepting ,
18346
18349
)
18347
18350
.expect("Not all signers accepted the block");
18348
18351
You can’t perform that action at this time.
0 commit comments