Skip to content
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

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

jeremy-then
Copy link
Contributor

Although the Bridge::addFederatorPublicKey method is disabled from the BridgeMethods class post RSKIP123.

Check this line:

activations -> !activations.isActive(RSKIP123),

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.

@jeremy-then jeremy-then self-assigned this Aug 5, 2024
@jeremy-then jeremy-then requested a review from a team as a code owner August 5, 2024 17:32
Base automatically changed from use-ADD_MULTI-for-voteFederationChange-tests to federation-support-refactor-integration August 5, 2024 19:52
marcos-iov
marcos-iov previously approved these changes Aug 5, 2024
@marcos-iov marcos-iov force-pushed the add-rskip123-check-to-addFederatorPublicKey-0 branch from 7a19cec to 410acd8 Compare August 7, 2024 14:24
nathanieliov
nathanieliov previously approved these changes Aug 7, 2024
@marcos-iov marcos-iov force-pushed the federation-support-refactor-integration branch from 04e7eec to 2a832e7 Compare August 9, 2024 13:09
@marcos-iov marcos-iov deleted the branch master August 9, 2024 15:44
@marcos-iov marcos-iov closed this Aug 9, 2024
@marcos-iov marcos-iov reopened this Aug 9, 2024
Base automatically changed from federation-support-refactor-integration to master August 9, 2024 15:49
@marcos-iov marcos-iov dismissed stale reviews from nathanieliov and themself August 9, 2024 15:49

The base branch was changed.

@marcos-iov marcos-iov force-pushed the add-rskip123-check-to-addFederatorPublicKey-0 branch from 410acd8 to b74bf52 Compare August 9, 2024 15:56
@marcos-iov marcos-iov force-pushed the add-rskip123-check-to-addFederatorPublicKey-0 branch from b74bf52 to cd75f52 Compare August 16, 2024 16:29
@marcos-iov marcos-iov changed the base branch from master to feature/powpeg_validation_protocol August 16, 2024 16:56
@marcos-iov marcos-iov changed the base branch from feature/powpeg_validation_protocol to master August 16, 2024 16:57
marcos-iov
marcos-iov previously approved these changes Aug 16, 2024
@marcos-iov
Copy link
Contributor

pipeline:run

Copy link

sonarcloud bot commented Aug 16, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@marcos-iov
Copy link
Contributor

pipeline:run

Copy link
Contributor

@marcos-iov marcos-iov left a 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

@josedahlquist josedahlquist merged commit 9bee1a9 into master Aug 20, 2024
9 of 10 checks passed
@marcos-iov marcos-iov deleted the add-rskip123-check-to-addFederatorPublicKey-0 branch August 20, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants