Skip to content

Commit b09ffc6

Browse files
committed
chore: address PR review, uncomment CI tests
1 parent ec89da9 commit b09ffc6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/bitcoin-tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
- tests::neon_integrations::liquid_ustx_integration
4646
- tests::neon_integrations::microblock_fork_poison_integration_test
4747
- tests::neon_integrations::microblock_integration_test
48-
- tests::neon_integrations::microblock_large_tx_integration_test_FLAKY
48+
# Disable this flaky test. Microblocks are no longer supported anyways.
49+
# - tests::neon_integrations::microblock_large_tx_integration_test_FLAKY
4950
- tests::neon_integrations::microblock_limit_hit_integration_test
5051
- tests::neon_integrations::miner_submit_twice
5152
- tests::neon_integrations::mining_events_integration_test
@@ -118,11 +119,8 @@ jobs:
118119
- tests::nakamoto_integrations::utxo_check_on_startup_recover
119120
- tests::signer::v0::multiple_miners_with_nakamoto_blocks
120121
- tests::signer::v0::partial_tenure_fork
121-
# The following 2 tests work locally, but fail on CI.
122-
# Locally, they both run consistently quite quickly, but on
123-
# CI, they timeout without any logging. Disabling in CI for now.
124-
# - tests::signer::v0::mine_2_nakamoto_reward_cycles
125-
# - tests::signer::v0::signer_set_rollover
122+
- tests::signer::v0::mine_2_nakamoto_reward_cycles
123+
- tests::signer::v0::signer_set_rollover
126124
# Do not run this one until we figure out why it fails in CI
127125
# - tests::neon_integrations::bitcoin_reorg_flap
128126
# - tests::neon_integrations::bitcoin_reorg_flap_with_follower

stackslib/src/net/api/postblock_proposal.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,13 @@ impl NakamotoBlockProposal {
196196
})
197197
}
198198

199+
/// DO NOT CALL FROM CONSENSUS CODE
200+
///
199201
/// Check to see if a block builds atop the highest block in a given tenure.
200202
/// That is:
201203
/// - its parent must exist, and
202204
/// - its parent must be as high as the highest block in the given tenure.
203-
pub(crate) fn check_block_builds_on_highest_block_in_tenure(
205+
fn check_block_builds_on_highest_block_in_tenure(
204206
chainstate: &StacksChainState,
205207
tenure_id: &ConsensusHash,
206208
parent_block_id: &StacksBlockId,

0 commit comments

Comments
 (0)