-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract test vectors into separate JSON files #33
Conversation
d14b740
to
fa866b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a much better presentation of the test vectors. Concept ACK.
Can you also add an entry for the ChangeLog?
67a7cbf
to
1b3da06
Compare
This still depends on #24 so shouldn't be merged until that one is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK
This is really much nicer for other implementations.
7a3daa2
to
1bb5e9e
Compare
1bb5e9e
to
40ad08b
Compare
40ad08b
to
d005bb2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, this is looks nice now. I tested it by playing around with values in the JSON and seeing if the tests catch it.
ACK d005bb2
This helped me in testing, feel free to pick:
real-or-random@70ce59f
ACK 70ce59f
bip-musig2/reference.py
Outdated
expected_errors = [ | ||
(InvalidContributionError, lambda e: e.signer == 1) | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unused now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching!
d005bb2
to
8654461
Compare
ACK 8654461 |
This is a re-do of #10 , now that @jonasnick added a bunch of changes and corresponding test cases
It depends on #24, so I'll rebase once that one is merged