Skip to content

tests: improve coverage for P2tr and AddressType#683

Merged
sanket1729 merged 1 commit intorust-bitcoin:masterfrom
LeoComandini:2021-10-27-test-p2tr
Nov 16, 2021
Merged

tests: improve coverage for P2tr and AddressType#683
sanket1729 merged 1 commit intorust-bitcoin:masterfrom
LeoComandini:2021-10-27-test-p2tr

Conversation

@LeoComandini
Copy link
Copy Markdown
Contributor

The new AddressType test shows addresses that are valid but have
no type. If in the future some of those get a type or become
invalid (either voluntarily or due to a regression), this will
highlight it.

dr-orlovsky
dr-orlovsky previously approved these changes Nov 12, 2021
Copy link
Copy Markdown
Collaborator

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

utACK 8d5a8fdf8fdc5c64b5fe6e9363dc596ef26b2c41

@dr-orlovsky dr-orlovsky added this to the 0.28.0 milestone Nov 12, 2021
@RCasatta
Copy link
Copy Markdown
Collaborator

utACK 8d5a8fd

Copy link
Copy Markdown
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

This won't work because we changed the P2tr API to correctly take in input internal_key instead of output_key.

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.

This should be updated to take in the input internal key instead of the output key. We changed the since #691

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Rebased and removed test_p2tr since it was the same as p2tr_from_untweaked, added a couple of lines to the latter

The new AddressType test shows addresses that are valid but have
no type. If in the future some of those get a type or become
invalid (either voluntarily or due to a regression), this will
highlight it.
Copy link
Copy Markdown
Collaborator

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

utACK 0d463ec

Copy link
Copy Markdown
Member

@sanket1729 sanket1729 left a comment

Choose a reason for hiding this comment

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

ACK 0d463ec

@sanket1729 sanket1729 merged commit e66a94f into rust-bitcoin:master Nov 16, 2021
erickcestari pushed a commit to erickcestari/rust-bitcoin that referenced this pull request Feb 4, 2026
I royally botched up PR rust-bitcoin#683 which changed fuzzing to run daily, fix it
up by doing:

- Use the correct yaml file name in `generate-files.sh`.
- Actually run `generate-files.sh` to generate the yaml file.
- Fix the time UTC comment (the other times were correctly set).
erickcestari pushed a commit to erickcestari/rust-bitcoin that referenced this pull request Feb 4, 2026
…z PR

bd1df30 Sort fuzz files when finding (Tobin C. Harding)
73d81e5 Follow up from cron-daily-fuzz PR (Tobin C. Harding)

Pull request description:

  I royally botched up PR rust-bitcoin#683 which changed fuzzing to run daily, fix it up by doing:

  - Use the correct yaml file name in `generate-files.sh`.
  - Actually run `generate-files.sh` to generate the yaml file.
  - Fix the time UTC comment (the other times were correctly set).

ACKs for top commit:
  apoelstra:
    ACK bd1df30

Tree-SHA512: 2af4c030398a79d1de2b2b5d49a399806e21681e5783d97bc139deb6004fed6b34461fb3547070a767d6fff1f76421c775a0a7d1ddc1de05dc50a3d08682618d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants