-
Notifications
You must be signed in to change notification settings - Fork 116
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
Improve coin selection unit tests #823
Conversation
Found some issues (in the unit tests) revealed by these test changes. Put up a branch that could get pulled into this PR: https://github.com/lightninglabs/taproot-assets/tree/coin-selection-test-fixes Looks good otherwise! |
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.
See above comment; the coin selection fix was waiting on the wrong signal; IIUC the timeout would occur for any signal since the method call was complete.
The second fix was to actually have the second asset as a reissuance into the first asset group; IIUC the test as-is was creating a duplicate asset.
Thanks for the review and the fixes. I took over the commit with the group anchor improvement.
That was kind of on purpose. We explicitly expect the |
Ah, fair enough - so any of the 3 calls timing out is sufficient. |
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.
LGTM, coverage go up 🚀
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.
LGTM 🎉
Fixes #124.