File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
testnet/stacks-node/src/tests/signer Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 93
93
- tests::signer::v0::bitcoind_forking_test
94
94
- tests::signer::v0::multiple_miners
95
95
- tests::signer::v0::mock_sign_epoch_25
96
+ - tests::signer::v0::miner_forking
96
97
- tests::nakamoto_integrations::stack_stx_burn_op_integration_test
97
98
- tests::nakamoto_integrations::check_block_heights
98
99
- tests::nakamoto_integrations::clarity_burn_state
Original file line number Diff line number Diff line change @@ -1372,6 +1372,16 @@ fn get_nakamoto_headers(config: &Config) -> Vec<StacksHeaderInfo> {
1372
1372
1373
1373
#[ test]
1374
1374
#[ ignore]
1375
+ // Test two nakamoto miners, with the signer set split between them.
1376
+ // One of the miners (run-loop-2) is prevented from submitting "good" block commits
1377
+ // using the "commit stall" test flag in combination with "block broadcast stalls".
1378
+ // (Because RL2 isn't able to RBF their initial commits after the tip is broadcasted).
1379
+ // This test works by tracking two different scenarios:
1380
+ // 1. RL2 must win a sortition that this block commit behavior would lead to a fork in.
1381
+ // 2. After such a sortition, RL1 must win another block.
1382
+ // The test asserts that every nakamoto sortition either has a successful tenure, or if
1383
+ // RL2 wins and they would be expected to fork, no blocks are produced. The test asserts
1384
+ // that every block produced increments the chain length.
1375
1385
fn miner_forking ( ) {
1376
1386
if env:: var ( "BITCOIND_TEST" ) != Ok ( "1" . into ( ) ) {
1377
1387
return ;
You can’t perform that action at this time.
0 commit comments