feat: Validate Msg proto annotations (#13793)

Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
Amaury
2023-03-20 16:27:36 +01:00
committed by GitHub
co-authored by Marko
parent 176c61cf70
commit 897ef64712
27 changed files with 611 additions and 295 deletions
+2
View File
@@ -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.
//
+1 -1
View File
@@ -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.