Skip to content

Commit

Permalink
chore: Added SendPacket RPC skeleton and relative proto message (#7364)
Browse files Browse the repository at this point in the history
* chore: Added SendPacket RPC skeleton

* chore: register new message

* linter

* add v2 codec.go

* rename alias

* linter
  • Loading branch information
bznein authored Oct 2, 2024
1 parent 688302f commit d82e1cd
Show file tree
Hide file tree
Showing 4 changed files with 740 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/core/04-channel/v2/types/codec.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package types

import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
)

// RegisterInterfaces register the ibc channel submodule interfaces to protobuf
// Any.
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
registry.RegisterImplementations(
(*sdk.Msg)(nil),
&MsgSendPacket{},
)
}
Loading

0 comments on commit d82e1cd

Please sign in to comment.