Skip to content

test: fold conf fields and mempool rejects onto existing journeys - #1022

Merged
reardencode merged 1 commit into
masterfrom
test/conf-mempool-beats
Oct 15, 2026
Merged

reardencode merged 1 commit into
masterfrom
test/conf-mempool-beats

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Move session observations that operator_conf_and_argv, mempool_accept_life, and sigop_adjusted_size_budget_and_reopen already produce off the small units that repeated them.

  • operator_conf_and_argv asserts --electrum-max-subs=5, --esplora-block-template=1, and a bad.conf:1 conf error. --check-blocks and --prefill-compact were already on that test.
  • mempool_accept_life already returns InputsDuplicate, Orphaned, Policy("min relay fee"), and Policy("libre annex").
  • sigop_adjusted_size_budget_and_reopen already records P2SH sigop cost 8 and P2WSH sigop cost 2.

Deleted: electrum_max_subs_cli_conf_and_bounds, max_sh_creates_and_esplora_block_template_cli_hyphens, conf_error_names_the_file_and_line, check_blocks_apply_kv_zero_is_all, prefillcompact_cli_conf_default_on, reject_duplicate_inputs, reject_when_provider_has_no_unspent_coin, reject_low_feerate, annex_reject, libre_rejects_bad_annex, accept_tx_records_full_sigop_cost_for_p2sh_and_p2wsh.

Esplora script-class beats stay on #1020.

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo deny check
  • ./scripts/ast-grep.sh
  • cargo test --workspace --quiet (one end_of_ibd_sh_interrupt race failed in the suite and passed alone; this diff does not touch that test)
  • ./scripts/ci-os-smoke.sh
  • Targeted operator_conf_and_argv, mempool_accept_life, sigop_adjusted_size_budget_and_reopen

operator_conf_and_argv now checks --electrum-max-subs, --esplora-block-template,
and a conf error that names the file and line. Mempool life already rejects
duplicate inputs, a missing coin, a low feerate, and a libre annex. The sigop
journey already records P2SH and P2WSH sigop cost. Those units are deleted.
@reardencode
reardencode merged commit 0f1c3c1 into master Oct 15, 2026
18 checks passed
@rearden-grok
rearden-grok Bot deleted the test/conf-mempool-beats branch October 17, 2026 11:09
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