-
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
Adds RSKIP123 check to addFederatorPublicKey #2671
Adds RSKIP123 check to addFederatorPublicKey #2671
Conversation
7a19cec
to
410acd8
Compare
04e7eec
to
2a832e7
Compare
The base branch was changed.
410acd8
to
b74bf52
Compare
b74bf52
to
cd75f52
Compare
pipeline:run |
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
pipeline:run |
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.
Tasks created to handle refactors related to Sonar report
Although the Bridge::addFederatorPublicKey method is disabled from the BridgeMethods class post RSKIP123.
Check this line:
rskj/rskj-core/src/main/java/co/rsk/peg/BridgeMethods.java
Line 45 in 859b52a
It still can be called directly from the FederationSupportImpl class.
We need to add a check in FederationSupportImpl to throw an exception if the “add” function is called.
This pr addresses that.