From 876963d24a6d81642f3d957ddb256a3f2f9a13ef Mon Sep 17 00:00:00 2001 From: Gurbaj Singh Date: Fri, 2 Aug 2024 14:38:33 +0530 Subject: [PATCH] auto-fix: interface type updated for CosmosHub4TrxMsgCosmosGovV1beta1MsgVote --- .../chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts b/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts index 90defda4..19e8b0f3 100644 --- a/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts +++ b/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts @@ -373,15 +373,16 @@ interface CosmosHub4TrxMsgCosmosGovV1beta1MsgSubmitProposalDataContentTypeClient } // types for msg type:: /cosmos.gov.v1beta1.MsgVote -export interface CosmosHub4TrxMsgCosmosGovV1beta1MsgVote extends IRangeMessage { - type: CosmosHub4TrxMsgTypes.CosmosGovV1beta1MsgVote; - data: { +export interface CosmosHub4TrxMsgCosmosGovV1beta1MsgVote { + type: string; + data: CosmosHub4TrxMsgCosmosGovV1beta1MsgVoteData; +} +interface CosmosHub4TrxMsgCosmosGovV1beta1MsgVoteData { voter: string; option: string; - proposalId: string; - }; } + // types for msg type:: /cosmos.gov.v1beta1.MsgVoteWeighted export interface CosmosHub4TrxMsgCosmosGovV1beta1MsgVoteWeighted extends IRangeMessage {