-
Notifications
You must be signed in to change notification settings - Fork 725
[Test] Add MN payments test coverage #2550
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
[Test] Add MN payments test coverage #2550
Conversation
a40abdb to
4eb8c52
Compare
random-zebra
left a comment
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.
Have checked only the refactoring, not the tests yet. Left some notes.
This should probably wait for #2421, or be based on top of it, to avoid some code churn.
2421 introduces BLS signatures for mnw messages created by deterministic nodes, changing exactly these functions (e.g. see c12d50a5ce4929c556cead67c4c607e571c516c2).
4eb8c52 to
d1de379
Compare
…on. No functional changes.
238843f to
5af4373
Compare
|
Rebased on master, conflicts and feedback tackled. Ready to go finally. |
random-zebra
left a comment
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.
Few non-blocking notes. All else looking good. utACK 5af43735abdafc583cf12ab1301e3d990f29536b
5af4373 to
a7a5796
Compare
|
Done, zebra's feedback tackled ☕ |
random-zebra
left a comment
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.
Easy diff. re-utACK a7a579652b041b81d2c324f4f8d6d096cb4201ef
Fuzzbawls
left a comment
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.
utACK a7a579652b041b81d2c324f4f8d6d096cb4201ef with a nit
…teMNWinnerPayment.
…error std::string.
… with a height too far in the future and payment for an already scheduled MN that went offline in the payment window.
a7a5796 to
5833e69
Compare
random-zebra
left a comment
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.
utACK 5833e69
e8559fc [Refactor] make AddWinningMasternode a void function (random-zebra) 5aaa02a [Test] add mnwinner case for non-existent MN. (furszy) e68773b [Refactor] Fix checks order for mnw processing (random-zebra) Pull request description: Extracted from #2421 (and based on top of it) so #2550 can be merged in between. ACKs for top commit: furszy: utACK e8559fc after rebase Tree-SHA512: 659d4ca43502f8e1e8f6ddbf7c815f6a07a69625f00c8ab71b7d8e9c97b85e90d97b18ccc988dcfd4d345d5f79932128abdaa0f0634380be7d715d3a3e45c6fc
Expanded the unit test suite adding coverage for Masternode payments.