-
Notifications
You must be signed in to change notification settings - Fork 266
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
Make updateSvpState private. Call it from updateCollections #2840
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
972acb3
to
efabbb1
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.
LGTM
@@ -129,6 +130,10 @@ void setUp() { | |||
logs | |||
); | |||
|
|||
ECKey key = RskTestUtils.getEcKeyFromSeed("key"); | |||
RskAddress address = new RskAddress(key.getAddress()); | |||
when(rskTx.getSender(any())).thenReturn(address); // to not throw when calling update collections |
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.
Should we explicitly say what this param should be?
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.
updated
efabbb1
to
99bdde2
Compare
Quality Gate passedIssues Measures |
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.
I was just asking about this on the other PR :)
Nice, merging it so we have all together
Call
updateSvpState
fromupdateCollections
.Make
updateSvpState
private and adapt tests.