-
Notifications
You must be signed in to change notification settings - Fork 664
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
e2e: Ensure interchain workflow coverage for the P-Chain #1882
Conversation
5b122ff
to
cb7166d
Compare
064d475
to
19987b2
Compare
1a6e8de
to
2996199
Compare
2996199
to
1bfab3d
Compare
4475f2d
to
34feccc
Compare
d785771
to
d30a8ac
Compare
99a3b3d
to
2f094ed
Compare
Rebased |
nodeID, nodePOP, err := infoClient.GetNodeID(e2e.DefaultContext()) | ||
require.NoError(err) | ||
|
||
ginkgo.By("adding the new node as a validator", func() { |
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.
q: why do we need to promote the node as validator? Can't we let it be a non-validator issuing a import/export Tx and let other validators in the network do the job of accepting the transactions?
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.
The requirement in #1547 is for A P-Chain workflow test where we add a node to the validator set, add a delegator for that node, and do import/export transactions to the X-Chain and C-Chain
.
require.NoError(err) | ||
}) | ||
|
||
ginkgo.By("adding a delegator to the new node", func() { |
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.
q: why do we need to make nodeID as both validator and delegator?
Also IIUC, what we are doing here is delegating some more nodeID's funds to nodeID. Why is this needed?
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.
Again, the requirement in #1547 is for A P-Chain workflow test where we add a node to the validator set, add a delegator for that node, and do import/export transactions to the X-Chain and C-Chain
.
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.
a couple of questions about test structure, which may be simpler. Other than that LGTM
4406254
to
317b548
Compare
Why this should be merged
Fulfills one of the requirements for #1547 (migration of Kurtosis tests)
How this works
How this was tested
CI
TODO