From 70935558573a53348a022d6b332b41c75e70cd01 Mon Sep 17 00:00:00 2001 From: Gurbaj Singh Date: Sun, 21 Jul 2024 12:45:41 +0530 Subject: [PATCH] auto-fix: interface type updated for CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec --- .../IRangeBlockCosmosHub4TrxMsg.ts | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts b/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts index 90defda4..fa5dc660 100644 --- a/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts +++ b/src/types/chain/cosmoshub-4/IRangeBlockCosmosHub4TrxMsg.ts @@ -66,25 +66,15 @@ export enum CosmosHub4TrxMsgTypes { } // types for mgs type:: /cosmos.authz.v1beta1.MsgExec -export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec - extends IRangeMessage { - type: CosmosHub4TrxMsgTypes.CosmosAuthzV1beta1MsgExec; - data: { - grantee: string; - msgs: ( - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgDelegate - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgUndelegate - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgWithdrawDelegatorReward - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSetWithdrawAddress - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgMsgWithdrawValidatorCommission - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgVote - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgGrant - | CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgRevoke - )[]; - }; +export interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExec { + type: string; + data: CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData; +} +interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecData { + error: string; } + interface CosmosHub4TrxMsgCosmosAuthzV1beta1MsgExecDataMsgsTypeMsgSend { '@type': '/cosmos.bank.v1beta1.MsgSend'; fromAddress: string;