refactor: authz audit changes (backport #16631) (#16647)

This commit is contained in:
mergify[bot]
2023-06-22 06:27:40 +00:00
committed by GitHub
parent 7539520d50
commit e61ce3c26e
8 changed files with 111 additions and 11 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ message QueryGranterGrantsResponse {
cosmos.base.query.v1beta1.PageResponse pagination = 2;
}
// QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method.
// QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method.
message QueryGranteeGrantsRequest {
string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
+6 -6
View File
@@ -44,10 +44,8 @@ message MsgGrant {
cosmos.authz.v1beta1.Grant grant = 3 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
}
// MsgExecResponse defines the Msg/MsgExecResponse response type.
message MsgExecResponse {
repeated bytes results = 1;
}
// MsgGrantResponse defines the Msg/MsgGrant response type.
message MsgGrantResponse {}
// MsgExec attempts to execute the provided messages using
// authorizations granted to the grantee. Each message should have only
@@ -63,8 +61,10 @@ message MsgExec {
repeated google.protobuf.Any msgs = 2 [(cosmos_proto.accepts_interface) = "cosmos.base.v1beta1.Msg"];
}
// MsgGrantResponse defines the Msg/MsgGrant response type.
message MsgGrantResponse {}
// MsgExecResponse defines the Msg/MsgExecResponse response type.
message MsgExecResponse {
repeated bytes results = 1;
}
// MsgRevoke revokes any authorization with the provided sdk.Msg type on the
// granter's account with that has been granted to the grantee.