-
Notifications
You must be signed in to change notification settings - Fork 37.7k
test: XORed blocks test follow up #30669
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: XORed blocks test follow up #30669
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
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.
tACK 07365d0
07365d0
to
7b7c287
Compare
Thanks @danielabrozzoni and @brunoerg. Pushed an update to address comments, and clarified the log message. |
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.
ACK 7b7c287
Thanks for following up! If you want, you could also tackle the suggestion to move the read_xor_key
helper to the TestNode
class, see #30657 (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.
ACK 7b7c287
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.
ACK 7b7c287
Thanks for the suggestion! This PR seems to be a reasonable place to perform the move, so I updated it to include this. Happy to make tweaks if you or @maflcko have any further suggestions. |
7b7c287
to
fee7e1c
Compare
Adds a convenience function to TestNode to provide the path to the blocks xor key. Updates util and feature_blocksxor to use it.
fee7e1c
to
ab9d245
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.
ACK ab9d245
ab9d245
to
1c403af
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.
re-ACK 1c403af
1c403af
to
e1d5dd7
Compare
ACK e1d5dd7 |
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.
re-ACK e1d5dd7
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.
reACK e1d5dd7
ACK e1d5dd7 |
Builds on PR #30657.
Refactors
read_xor_key()
fromutil.py
totest_node.py
(comment #30657 (comment))Adds a check that
xor.dat
is created when missing (comment #30657 (comment))Help states: