-
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
Create new Federation and the complete process until it is confirmed and activated #2925
base: federation_change_federeration_integration
Are you sure you want to change the base?
Create new Federation and the complete process until it is confirmed and activated #2925
Conversation
…mitProposedFederation
…s named FederationChangeIT.java
…ed until activation phase
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
Quality Gate passedIssues Measures |
private FederationSupportImpl federationSupport; | ||
private LockingCapSupport lockingCapSupport; | ||
private BridgeSupport bridgeSupport; | ||
|
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.
Can we put the List<Triple<BtcECKey, ECKey, ECKey>>
variables after this? Those are much more complex initializations. Let's put them last so they are not in the middle of simple variable declarations.
case P2SH_ERP -> { | ||
originalFederation = FederationFactory.buildP2shErpFederation( | ||
originalFederationArgs, erpPubKeys, activationDelay); | ||
// TODO: CHECK REDEEMSCRIPT |
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 TODO
be here still?
private BridgeSupport bridgeSupport; | ||
|
||
@Test | ||
void whenAllActivationsArePresentAndFederationChanges_shouldCreateNewActiveFederation() throws Exception { |
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.
void whenAllActivationsArePresentAndFederationChanges_shouldCreateNewActiveFederation() throws Exception { | |
void whenAllActivationsArePresentAndFederationChanges_shouldMakeTheProposedFederationTheNewActiveFederation() throws Exception { |
What do you think?
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.
Description
The idea is to provide building blocks that can be reused while creating new tests. This focuses on creating a new active and retiring federation.