-
Notifications
You must be signed in to change notification settings - Fork 267
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
Do not set last retired fed p2sh script in new commitFederation impl #2842
Do not set last retired fed p2sh script in new commitFederation impl #2842
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
efabbb1
to
99bdde2
Compare
503aca7
to
0113e2a
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.
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
a84f8a7
to
272f561
Compare
0c6aa68
to
4083234
Compare
0113e2a
to
6983bb2
Compare
@@ -733,12 +734,11 @@ private FederationChangeResponseCode commitPendingFederation(PendingFederation c | |||
// set proposed federation | |||
Federation proposedFederation = buildFederationFromPendingFederation(currentPendingFederation); | |||
provider.setProposedFederation(proposedFederation); | |||
setNewActiveFederationCreationBlockHeight(); |
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 this be done at this point? Shouldn't we set this value after the proposed federation is validated? If the validation fails we'd end up with an invalid value here, right?
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.
we discussed this when developing phase1, the idea was that the activation period remain the same. But yes it makes sense to do it after the validation.
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
6d61919
to
80b0d63
Compare
Quality Gate passedIssues Measures |
3b02692
into
feature/powpeg_validation_protocol-phase4
Last-retired-federation script shouldn't be set in new commitFederation implementation, since we will set the to-be-active-federation after its validation.