-
Notifications
You must be signed in to change notification settings - Fork 637
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
refactor: make transfer module v2 use same core paths as v1 #7754
base: feat/ibc-eureka
Are you sure you want to change the base?
refactor: make transfer module v2 use same core paths as v1 #7754
Conversation
…e-v2-use-same-core-paths-as-v1
…e-v2-use-same-core-paths-as-v1
Quality Gate passed for 'ibc-go'Issues 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.
Nice work! Just a couple nits so far
sourcePort string, | ||
sourceChannel string, |
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.
nit: but i like having this first in the arg list after ctx
case *channeltypes.Acknowledgement_Result: | ||
// Write a successful async ack for the forwardedPacket | ||
forwardAck := channeltypes.NewResultAcknowledgement([]byte{byte(1)}) | ||
return k.acknowledgeForwardedPacket(ctx, forwardedPacket, packet, forwardAck) |
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't we pull this out of the switch case? since its the same call in both cases
Description
closes: #7687
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.