Skip to content

test: fold client param edges onto rpc_regtest_from_genesis - #1038

Merged
reardencode merged 1 commit into
masterfrom
test/rpc-client-param-edges
Oct 16, 2026
Merged

reardencode merged 1 commit into
masterfrom
test/rpc-client-param-edges

Conversation

@rearden-grok

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

Copy link
Copy Markdown
Contributor

Summary

  • Fold ten RPC unit tests onto rpc_regtest_from_genesis. They already assert through dispatch on a regtest hub, and that journey opens the hub.
  • The beat checks the help catalog, help text, stop and the three waiters, the signet challenge and an unknown filter type, raw decode and validateaddress, unknown named parameters, JSON type errors, and junk-hex TX decode failed.
  • stop is cleared and ctx.network is put back to regtest before the later chain beats. The tip stays at genesis. No second hub.

Test plan

  • cargo test -p rbitcoin-rpc rpc_regtest_from_genesis -- --quiet
  • cargo clippy -p rbitcoin-rpc --all-targets -- -D warnings

Ten units already speak to a regtest hub through dispatch. The genesis
journey opens that hub, so help, stop, the waiters, signet challenge,
decode, and param errors run on its client. Stop and the network field
are restored before the later chain beats.
@rearden-grok
rearden-grok Bot force-pushed the test/rpc-client-param-edges branch from 63553a1 to be46728 Compare October 16, 2026 19:54
@reardencode
reardencode merged commit fb06423 into master Oct 16, 2026
18 checks passed
@rearden-grok
rearden-grok Bot deleted the test/rpc-client-param-edges 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