Skip to content

test: remaining suggested-order 4 fixtures (I-14 A-21 C-14 Q-17 SH-15 N-03) - #414

Merged
reardencode merged 3 commits into
masterfrom
test/step4-fixtures
Sep 10, 2026
Merged

test: remaining suggested-order 4 fixtures (I-14 A-21 C-14 Q-17 SH-15 N-03)#414
reardencode merged 3 commits into
masterfrom
test/step4-fixtures

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Finish suggested-order step 4 fixture consolidations on top of X-06 / N-04.

  • I-14: IBD Tiny+hub tests (confirm_reject_tests, parent_height, path, progress, archive, dial, confirm engine) call tiny_regtest_hub_labeled. Query-only merkle pin uses tiny_query_labeled. Blacklist vs cascade vs BadPrev pins stay.
  • A-21: RPC methods_tests / server leftover temp_dir inlines use TempDir.
  • C-14: structure-rule Tiny opens use tiny_query; BIP34 encoding twins live in bip34_tests; structure-rule keeps the wrong-encoding reject pin.
  • Q-17: catchup inlines use tiny_query_labeled. connect_chain_query_surface stays (only height_of_hash / tx_output_at_fk / merkle_proof journey).
  • SH-15: scripthash_tests tmp() is store TempDir. Bulk/extent/unsorted edge-packing pins kept.
  • N-03: peer tests hold PeerFollowState and call shipped handle_peer_frame. The 11-arg unpacking shim is deleted.

Production default stays Mainnet. Fixture size stays Tiny.

Test plan

  • confirm_reject_class_matches_substring_table / bad_prev_gathers_winner_via_bq_by_hash
  • bloom_disabled_messages_request_disconnect
  • bip34_wrong_push_encoding_rejected_after_activation / small_heights_use_op_n
  • query_index_products_follow_mode_and_flags
  • blockchain_empty_store / rpc_smoke_getblockcount_and_help
  • sh_body_create_grows_64k_not_slab

Do not merge unless asked. Coverage ≥90% is the required coverage job.

rbitcoin-grok[bot] added 3 commits September 10, 2026 09:52
confirm_reject, parent_height, path, progress, archive, dial, and
confirm engine tests opened Tiny query + ChainHub::new+regtest by
hand. They now call tiny_regtest_hub_labeled (or tiny_query_labeled
when only Query is needed). Reject class pins stay.
…SH-15)

RPC methods/server, query catchup, and consensus structure-rule tests
open Tiny via TempDir/tiny_query. BIP34 encoding asserts live in
bip34_tests; structure-rule keeps the wrong-encoding reject pin.
scripthash_tests tmp() is store TempDir. connect_chain_query_surface
stays (only height_of_hash/merkle_proof journey).
Production handle_peer_frame already takes packed follow state. Tests
construct PeerFollowState and call that function. The cfg(test)
unpacking shim is gone.
@reardencode
reardencode merged commit 6e1037c into master Sep 10, 2026
16 checks passed
@rearden-grok
rearden-grok Bot deleted the test/step4-fixtures branch September 10, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant