Skip to content

Commit bb08af2

Browse files
committed
Add messages in MsgResponses
Add messages in MsgResponses
1 parent ff706fa commit bb08af2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pyinjective/composer.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,13 @@ def MsgResponses(data, simulation=False):
377377
"/injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders": injective_exchange_tx_pb.MsgBatchCancelDerivativeOrdersResponse,
378378
"/injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders": injective_exchange_tx_pb.MsgBatchCreateSpotLimitOrdersResponse,
379379
"/injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders": injective_exchange_tx_pb.MsgBatchCreateDerivativeLimitOrdersResponse,
380+
"/injective.exchange.v1beta1.MsgDeposit": injective_exchange_tx_pb.MsgDepositResponse,
380381
"/injective.exchange.v1beta1.MsgWithdraw": injective_exchange_tx_pb.MsgWithdrawResponse,
381382
"/injective.exchange.v1beta1.MsgSubaccountTransfer": injective_exchange_tx_pb.MsgSubaccountTransferResponse,
382-
"/injective.exchange.v1beta1.MsgLiquidatePosition": injective_exchange_tx_pb.MsgLiquidatePosition,
383-
"/injective.exchange.v1beta1.MsgIncreasePositionMargin": injective_exchange_tx_pb.MsgIncreasePositionMargin,
383+
"/injective.exchange.v1beta1.MsgLiquidatePosition": injective_exchange_tx_pb.MsgLiquidatePositionResponse,
384+
"/injective.exchange.v1beta1.MsgIncreasePositionMargin": injective_exchange_tx_pb.MsgIncreasePositionMarginResponse,
384385
"/injective.auction.v1beta1.MsgBid": injective_auction_tx_pb.MsgBidResponse,
386+
"/cosmos.bank.v1beta1.MsgSend": cosmos_bank_tx_pb.MsgSendResponse
385387
}
386388

387389
response = tx_response_pb.TxResponseData.FromString(data)

0 commit comments

Comments
 (0)