-
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
chore: rename apis to align with spec #7511
Conversation
@@ -17,7 +17,50 @@ import ( | |||
|
|||
var _ channeltypesv2.MsgServer = &Keeper{} | |||
|
|||
// SendPacket implements the PacketMsgServer SendPacket method. | |||
// CreateChannel defines a rpc handler method for MsgCreateChannel. |
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.
Moved CreateChannel and RegisterCounterparty to top of file so things read logically wrt exec flow
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 also wanted to move ack after recv 😬 (both here and in packet.go iirc)
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.
say no more!
_ sdk.Msg = (*MsgRegisterCounterparty)(nil) | ||
_ sdk.HasValidateBasic = (*MsgRegisterCounterparty)(nil) | ||
|
||
_ sdk.Msg = (*MsgCreateChannel)(nil) | ||
_ sdk.HasValidateBasic = (*MsgCreateChannel)(nil) |
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.
maybe I swap these too 🫠
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!
Looks like we're missing test func for create channel rpc |
Quality Gate passed for 'ibc-go'Issues Measures |
Description
ProvideCounterparty
toRegisterCounterparty
Idk if there's an issue for this. Please link if you know of one!
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.