File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -10433,6 +10433,40 @@ fn allow_reorg_within_first_proposal_burn_block_timing_secs() {
10433
10433
miners.shutdown();
10434
10434
}
10435
10435
10436
+ #[test]
10437
+ #[ignore]
10438
+ fn allow_reorg_within_first_proposal_burn_block_timing_secs_scenario() {
10439
+ if env::var("BITCOIND_TEST") != Ok("1".into()) {
10440
+ return;
10441
+ }
10442
+
10443
+ let num_signers = 5;
10444
+ let num_transfer_txs = 3;
10445
+
10446
+ let test_context = Arc::new(SignerTestContext::new(num_signers, num_transfer_txs));
10447
+
10448
+ scenario![
10449
+ test_context,
10450
+ SkipCommitOpSecondaryMiner,
10451
+ BootToEpoch3,
10452
+ SkipCommitOpPrimaryMiner,
10453
+ MineBitcoinBlockTenureChangePrimaryMinerCommand,
10454
+ SubmitBlockCommitSecondaryMinerCommand,
10455
+ StallMiningCommand,
10456
+ MineTenureCommand,
10457
+ SubmitBlockCommitPrimaryMinerCommand,
10458
+ RecoverFromStallCommand,
10459
+ WaitForBlockFromMiner2Command,
10460
+ MineTenureCommand,
10461
+ WaitForBlockFromMiner1Command,
10462
+ SubmitBlockCommitPrimaryMinerCommand,
10463
+ SendTransferTxCommand,
10464
+ WaitForBlockFromMiner1Command,
10465
+ MineBitcoinBlockTenureChangePrimaryMinerCommand,
10466
+ ShutdownMinersCommand
10467
+ ]
10468
+ }
10469
+
10436
10470
/// Test a scenario where:
10437
10471
/// Two miners boot to Nakamoto.
10438
10472
/// Sortition occurs. Miner 1 wins.
You can’t perform that action at this time.
0 commit comments