Repository navigation
test: update BIP352 test vectors - #36992
Open
devdavidejesus wants to merge 1 commit into
Open
devdavidejesus wants to merge 1 commit into
devdavidejesus wants to merge 1 commit into
Conversation
Update bip352_send_and_receive_vectors.json to match the test vectors in the bitcoin/bips repository at commit 04393c98. This update includes: - The corrected input encodings from the BIP 352 vectors (04393c98), without changing any expected results. - The new Taproot annex test case (3c68d3f3), which covers an annex-removal error not caught by the previous vectors in Bitcoin Core's C++ tests. No test code has been modified. Only the test vector file has been updated.
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process. |
Author
|
The same outdated BIP-352 test vectors are also present in the libsecp256k1 subtree at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Update
bip352_send_and_receive_vectors.jsonto match the test vectors in the bitcoin/bips repository at commit04393c98.This update includes:
04393c98), without changing any expected results.3c68d3f3), which covers an annex-removal error not caught by the previous vectors in Bitcoin Core's C++ tests.No test code has been modified. Only the test vector file has been updated.
Testing
Tested on macOS 27.2.1, Apple M3.
bip352_testspassed.test_framework.bip352passed.Both test suites were run before and after updating the vectors.