feat: Validate Msg proto annotations (#13793)
Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
@@ -11,6 +11,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/consensus/types";
|
||||
|
||||
// Msg defines the bank Msg service.
|
||||
service Msg {
|
||||
option (cosmos.msg.v1.service) = true;
|
||||
|
||||
// UpdateParams defines a governance operation for updating the x/consensus_param module parameters.
|
||||
// The authority is defined in the keeper.
|
||||
//
|
||||
|
||||
@@ -362,7 +362,7 @@ message MsgVoteResponse {}
|
||||
|
||||
// MsgExec is the Msg/Exec request type.
|
||||
message MsgExec {
|
||||
option (cosmos.msg.v1.signer) = "signer";
|
||||
option (cosmos.msg.v1.signer) = "executor";
|
||||
option (amino.name) = "cosmos-sdk/group/MsgExec";
|
||||
|
||||
// proposal is the unique ID of the proposal.
|
||||
|
||||
Reference in New Issue
Block a user