-
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 |
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?
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.
Removed, thanks
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
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.
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
1ba5cc7
to
1191212
Compare
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
addNewBtcBlockOnTipOfChain(btcBlockStore); | ||
repository.save(); | ||
|
||
bridgeEventLogger = new BridgeEventLoggerImpl(BRIDGE_CONSTANTS, activations, new ArrayList<>()); |
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.
bridgeEventLogger = new BridgeEventLoggerImpl(BRIDGE_CONSTANTS, activations, new ArrayList<>()); | |
bridgeEventLogger = new BridgeEventLoggerImpl(BRIDGE_CONSTANTS, activations, logs); |
we probably wanna define the logs at class level, to assert federation change related logged events. Wdyt?
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.
Sure, if in a future PR we need will make it an instance variable.
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.
wouldn't be worth to check for the commit federation event for example? I mean, in this pr
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/peg/federation/FederationChangeIT.java
Outdated
Show resolved
Hide resolved
250c82b
to
0f5161b
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.
nice work
Quality Gate passedIssues Measures |
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.