-
Notifications
You must be signed in to change notification settings - Fork 741
e2e: Ensure interchain workflow coverage for X-Chain and C-Chain #1871
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
Conversation
f13f760
to
9460e58
Compare
83e2078
to
3eaef23
Compare
40316dc
to
8e661ff
Compare
8e661ff
to
f60ce01
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.
The tests themselves LGTM but I left some questions/nits.
Also, personally I prefer to use
var (
thing1 = ...
thing2 = ...
)
as opposed to
thing1 := ...
thing2 := ...
when there are more than 2 things being declared consecutively. Not a binding style thing but I just like it better. Up to you.
// Sign transaction | ||
cChainID, err := ethClient.ChainID(e2e.DefaultContext()) | ||
require.NoError(err) | ||
signer := types.NewEIP155Signer(cChainID) |
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.
Someone who knows the EVM better than I do should comment as to whether this is the signer we want to use
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.
FWIW I'm copying what we used in snow-machine: https://github.com/ava-labs/snow-machine/blob/cchain-send/c/c.go#L37
2faec8c
to
bf18183
Compare
Rebaed |
5ee2c53
to
6dfadc6
Compare
Co-authored-by: Stephen Buttolph <stephen@avalabs.org> Signed-off-by: marun <maru.newby@avalabs.org>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org> Signed-off-by: marun <maru.newby@avalabs.org>
Co-authored-by: Stephen Buttolph <stephen@avalabs.org> Signed-off-by: marun <maru.newby@avalabs.org>
Removed superflous cchain default amount and invalid reference. |
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
Implementation of the P-Chain workflow will be tackled in a different PR due to the dependency on node addition added by #1573.