Msg

Exec executes a proposal.

post/cosmos.group.v1.Msg/Exec

Request body

executorstring

executor is the account address used to execute the proposal.

proposal_idstring uint64

proposal is the unique ID of the proposal.

Response

A successful response.

result'PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED' | 'PROPOSAL_EXECUTOR_RESULT_NOT_RUN' | 'PROPOSAL_EXECUTOR_RESULT_SUCCESS' | 'PROPOSAL_EXECUTOR_RESULT_FAILURE'

ProposalExecutorResult defines types of proposal executor results.

  • PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: An empty value is not allowed.
  • PROPOSAL_EXECUTOR_RESULT_NOT_RUN: We have not yet run the executor.
  • PROPOSAL_EXECUTOR_RESULT_SUCCESS: The executor was successful and proposed action updated state.
  • PROPOSAL_EXECUTOR_RESULT_FAILURE: The executor returned an error and proposed action didn't update state.

Changes