Skip to content

Commit

Permalink
register new tx in codec.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Nov 10, 2023
1 parent 2f700c1 commit 0a969f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/observer/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) {
cdc.RegisterConcrete(&MsgUpdateCrosschainFlags{}, "crosschain/UpdateCrosschainFlags", nil)
cdc.RegisterConcrete(&MsgUpdateKeygen{}, "crosschain/UpdateKeygen", nil)
cdc.RegisterConcrete(&MsgAddBlockHeader{}, "crosschain/AddBlockHeader", nil)
cdc.RegisterConcrete(&MsgUpdateObserver{}, "observer/UpdateObserver", nil)
}

func RegisterInterfaces(registry cdctypes.InterfaceRegistry) {
Expand All @@ -24,6 +25,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) {
&MsgUpdateCrosschainFlags{},
&MsgUpdateKeygen{},
&MsgAddBlockHeader{},
&MsgUpdateObserver{},
)

msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
Expand Down

0 comments on commit 0a969f9

Please sign in to comment.