Skip to content

Fix all the issues with verify --tests#634

Merged
tcharding merged 9 commits into
rust-bitcoin:masterfrom
jamillambert:0617-verify-tests
Jun 18, 2026
Merged

Fix all the issues with verify --tests#634
tcharding merged 9 commits into
rust-bitcoin:masterfrom
jamillambert:0617-verify-tests

Conversation

@jamillambert

@jamillambert jamillambert commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

There are a bunch of issues with test names and labels in verify that cause the fixed verify with --tests to fail.

Fix all of them, including the RPCs that are actually not tested by adding the label to the types table and also mentioning them in the new issue #633.

A couple of tests had a single underscore before the word `modelled`.

Change them to a double underscore.
loadtxoutset said it was untested but it is tested.

Remove the label.
Some tests with models are missing the suffix.

Add it.
A couple of test names were missing the underscore between words.

Add the missing underscore.
Including testing v17 by checking that the RPC is successful only, and
gate out the assertions on the returned data that is not in v17.
There are a set of RPCs that are deprecated in v17 and removed in v18.

They are all untested, so mark them as so.
There was a combination of both. In types it is a single work, so keep
it that way in client and verify too.

Search and replace all instances of key_pool with keypool.

@tcharding tcharding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK d64ada2

@tcharding

Copy link
Copy Markdown
Member

Nice one man. We should probably consider running verify with --tests in CI. I was too lazy initially.

@tcharding tcharding merged commit 21ce21c into rust-bitcoin:master Jun 18, 2026
36 checks passed
@jamillambert

jamillambert commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

Nice one man. We should probably consider running verify with --tests in CI. I was too lazy initially.

Yeah, it's quite a quick check. I wonder if it can be added to the end of the integration_test CI since that needs to be run first to generate the output file. But only run it if the test passes, otherwise you will get a whole list of missing tests for the ones that weren't run.

Opened #639

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants