-
Notifications
You must be signed in to change notification settings - Fork 2
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
Settup and add initial svp tests. #200
base: svp-integration
Are you sure you want to change the base?
Conversation
02f109c
to
c5f6867
Compare
837eddc
to
eb2bea1
Compare
eb2bea1
to
9997ec4
Compare
tests/00_00_04-change-federation.js
Outdated
|
||
expect(proposedFederationInfo.proposedFederationCreationBlockNumber).to.be.equal(commitFederationCreationBlockNumber, 'The proposed federation creation block number should be the expected one.'); | ||
|
||
const proposedFederationMembers = await getProposedFederationPublicKeys(bridge); |
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.
const proposedFederationMembers = await getProposedFederationPublicKeys(bridge); | |
const proposedFederationPublicKeys = await getProposedFederationPublicKeys(bridge); |
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.
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? i don't see the change
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.
I updated something similar, got confused. Now updated.
tests/00_00_04-change-federation.js
Outdated
|
||
}); | ||
|
||
it('should not have created svp transaction and there should not be any SVP values in storage yet', async () => { |
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.
it('should not have created svp transaction and there should not be any SVP values in storage yet', async () => { | |
it('should not have created svp fund transaction and there should not be any SVP values in storage yet', async () => { |
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.
Quality Gate passedIssues Measures |
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.
looking good
@@ -23,7 +23,81 @@ var compareFederateKeys = (publicKeysA, publicKeysB) => { | |||
return comparison; | |||
}; | |||
|
|||
const getActiveFederationPublicKeys = async (bridge) => { |
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.
What do you think of using powpeg-details library?
Not now, but if you think it's a good idea we can add it in a separate PR
return bytesStr; | ||
}; | ||
|
||
const getBridgeStorageValueDecodedHexString = (bridgeStorageValueEncodedAsRlp, append0xPrefix = true) => { |
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.
I think we implemented this in one of our libraries didn't we? Might be a good idea anyway to have maybe a specialized library that reads values from the Bridge storage
@@ -13,7 +13,7 @@ | |||
"license": "GPL3", | |||
"dependencies": { | |||
"@rsksmart/bridge-state-data-parser": "^1.2.0", | |||
"@rsksmart/bridge-transaction-parser": "^1.1.4", | |||
"@rsksmart/bridge-transaction-parser": "github:rsksmart/bridge-transaction-parser#fbdeb686fc438f530d3a5f01bce062fd455be01f", |
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.
Why this? Do we need a new release for bridge-transaction-parser
?
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.
Yes. We need to update the @rsksmart/rsk-precompiled-abis
dependency in the bridge-transaction-parser
library. Check: rsksmart/bridge-transaction-parser@master...use-lovel-precompiled-abis-commit
@@ -34,7 +34,7 @@ | |||
"mocha-junit-reporter": "^2.2.1", | |||
"pegin-address-verificator": "git+https://git@github.com/rsksmart/pegin-address-verifier#v0.4.0", | |||
"peglib": "git+https://github.com/rsksmart/rsk-peglib#v1.4.15", | |||
"@rsksmart/rsk-precompiled-abis": "^6.0.0-ARROWHEAD", | |||
"@rsksmart/rsk-precompiled-abis": "github:rsksmart/precompiled-abis#841aa8f0caab0356ae510708bfb2fceae9144790", |
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.
same here
@@ -56,7 +56,7 @@ global.Runners = { | |||
fingerroot500: 1, | |||
arrowhead600: 1, | |||
arrowhead631: 1, | |||
lovell700: -1, | |||
lovell700: 1, |
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.
I thought we planned on staring with Lovell inactive. Then test pre and post Lovell
No description provided.