docs: improve documentation about authority in protos (#14531)

This commit is contained in:
Julien Robert
2023-01-09 08:18:13 +00:00
committed by GitHub
parent 3fc4f33769
commit ecdedf5db4
35 changed files with 58 additions and 58 deletions
+1 -1
View File
@@ -1731,7 +1731,7 @@ type MsgUpdateParams struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// authority is the address of the governance account.
// authority is the address that controls the module (defaults to x/gov unless overwritten).
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// params defines the x/slashing parameters to update.
//
+2 -2
View File
@@ -27,7 +27,7 @@ type MsgClient interface {
// and rewards again.
Unjail(ctx context.Context, in *MsgUnjail, opts ...grpc.CallOption) (*MsgUnjailResponse, error)
// UpdateParams defines a governance operation for updating the x/slashing module
// parameters. The authority is hard-coded to the x/gov module account.
// parameters. The authority defaults to the x/gov module account.
//
// Since: cosmos-sdk 0.47
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
@@ -68,7 +68,7 @@ type MsgServer interface {
// and rewards again.
Unjail(context.Context, *MsgUnjail) (*MsgUnjailResponse, error)
// UpdateParams defines a governance operation for updating the x/slashing module
// parameters. The authority is hard-coded to the x/gov module account.
// parameters. The authority defaults to the x/gov module account.
//
// Since: cosmos-sdk 0.47
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)