-
Notifications
You must be signed in to change notification settings - Fork 616
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
Add NoForwarding and EmptyForwardingPacketData helper function to use… #6774
Conversation
thanks! we should add these to |
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.
Thank you for the PR, @hakuno2000! Changes look good to me; I pushed a commit using the new functions in a few more places.
Thank you so much sir. |
@@ -43,7 +41,7 @@ func TestUnmarshalPacketData(t *testing.T) { | |||
Denom: types.NewDenom("atom", types.NewHop("transfer", "channel-0")), | |||
Amount: "1000", | |||
}, | |||
}, sender, receiver, "", emptyForwardingPacketData) | |||
}, sender, receiver, "", types.ForwardingPacketData{}) |
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 couldn't use the testing value because it was complaining about some import cycle...
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.
that's weird. I'm not sure I see why on top of my head.
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.
Yeah, I also was surprised, but decided to skip this rabbit hole...
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, thanks for the pick-up hakuno!
… in tests
Description
closes: #6723
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.