Skip to content

Commit

Permalink
Merge pull request #92 from sideprotocol/ping/feat/update-fee-rate
Browse files Browse the repository at this point in the history
add codec for messages
  • Loading branch information
liangping authored Jun 22, 2024
2 parents cba606f + 852d524 commit 9189699
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/btcbridge/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ func RegisterCodec(cdc *codec.LegacyAmino) {
cdc.RegisterConcrete(&MsgSubmitDepositTransactionRequest{}, "btcbridge/MsgSubmitDepositTransactionRequest", nil)
cdc.RegisterConcrete(&MsgSubmitWithdrawSignaturesRequest{}, "btcbridge/MsgSubmitWithdrawSignaturesRequest", nil)
cdc.RegisterConcrete(&MsgSubmitWithdrawTransactionRequest{}, "btcbridge/MsgSubmitWithdrawTransactionRequest", nil)
cdc.RegisterConcrete(&MsgWithdrawBitcoinRequest{}, "btcbridge/MsgWithdrawBitcoinRequest", nil)
cdc.RegisterConcrete(&MsgSubmitWithdrawStatusRequest{}, "btcbridge/MsgSubmitWithdrawStatusRequest", nil)
// this line is used by starport scaffolding # 2
}

Expand All @@ -22,6 +24,8 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) {
registry.RegisterImplementations((*sdk.Msg)(nil), &MsgSubmitDepositTransactionRequest{})
registry.RegisterImplementations((*sdk.Msg)(nil), &MsgSubmitWithdrawSignaturesRequest{})
registry.RegisterImplementations((*sdk.Msg)(nil), &MsgSubmitWithdrawTransactionRequest{})
registry.RegisterImplementations((*sdk.Msg)(nil), &MsgWithdrawBitcoinRequest{})
registry.RegisterImplementations((*sdk.Msg)(nil), &MsgSubmitWithdrawStatusRequest{})
// this line is used by starport scaffolding # 3

msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc)
Expand Down

0 comments on commit 9189699

Please sign in to comment.