diff --git a/src/services/messages/build/buildMessage.ts b/src/services/messages/build/buildMessage.ts index 68848d4..7137c31 100644 --- a/src/services/messages/build/buildMessage.ts +++ b/src/services/messages/build/buildMessage.ts @@ -51,9 +51,9 @@ import { MsgCreateGroup, MsgSubmitProposal as MsgSubmitGroupProposal, MsgVote as MsgGroupVote, + MsgExec as MsgGroupExec, } from '../../../proto/cosmos/group/v1/tx_pb'; import { MemberRequest } from '../../../proto/cosmos/group/v1/types_pb'; - const encoder = new TextEncoder(); /** @@ -175,6 +175,14 @@ export const buildMessage = ( return msgGroupVote; } + case 'MsgExec': { + const { proposalId, executor } = params as MsgExecDisplay; + const msgExec = new MsgGroupExec() + .setProposalId(proposalId) + .setExecutor(executor); + return msgExec; + } + case 'MsgInstantiateContract': { const { sender, admin, codeId, label, msg, fundsList } = params as MsgInstantiateContractDisplay;