Skip to content

Commit

Permalink
update proto files
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoke committed Nov 27, 2023
1 parent 6feb815 commit fa69abd
Show file tree
Hide file tree
Showing 9 changed files with 1,781 additions and 1,762 deletions.
160 changes: 80 additions & 80 deletions api/cosmos/staking/v1beta1/genesis.pulsar.go

Large diffs are not rendered by default.

673 changes: 338 additions & 335 deletions api/cosmos/staking/v1beta1/staking.pulsar.go

Large diffs are not rendered by default.

657 changes: 331 additions & 326 deletions api/cosmos/staking/v1beta1/tx.pulsar.go

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions api/cosmos/staking/v1beta1/tx_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions proto/cosmos/staking/v1beta1/staking.proto
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ message Validator {
Commission commission = 10 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
// Deprecated: This field has been deprecated with LSM in favor of the validator bond
string min_self_delegation = 11 [
deprecated = true,
(cosmos_proto.scalar) = "cosmos.Int",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.nullable) = false
Expand Down
15 changes: 11 additions & 4 deletions proto/cosmos/staking/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ service Msg {

// UnbondValidator defines a method for performing the status transition for a validator
// from bonded to unbonding
// This allows a validator to stop their services and jail themselves without
// experiencing a slash
rpc UnbondValidator(MsgUnbondValidator) returns (MsgUnbondValidatorResponse);

// TokenizeShares defines a method for tokenizing shares from a validator.
Expand Down Expand Up @@ -119,8 +121,13 @@ message MsgEditValidator {
// REF: #2373
string commission_rate = 3
[(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"];
string min_self_delegation = 4
[(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"];
// Deprecated: This field has been deprecated with LSM in favor of the validator bond
string min_self_delegation = 4 [
deprecated = true,
(cosmos_proto.scalar) = "cosmos.Int",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.nullable) = false
];
}

// MsgEditValidatorResponse defines the Msg/EditValidator response type.
Expand Down Expand Up @@ -179,8 +186,6 @@ message MsgUndelegate {
}

// MsgUndelegateResponse defines the Msg/Undelegate response type.
// This allows a validator to stop their services and jail themselves without
// experiencing a slash
message MsgUndelegateResponse {
google.protobuf.Timestamp completion_time = 1
[(gogoproto.nullable) = false, (amino.dont_omitempty) = true, (gogoproto.stdtime) = true];
Expand Down Expand Up @@ -231,6 +236,8 @@ message MsgUpdateParamsResponse {};

// MsgUnbondValidator defines a method for performing the status transition for
// a validator from bonded to unbonded
// This allows a validator to stop their services and jail themselves without
// experiencing a slash
message MsgUnbondValidator {
string validator_address = 1 [(gogoproto.moretags) = "yaml:\"address\""];
}
Expand Down
112 changes: 56 additions & 56 deletions x/staking/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fa69abd

Please sign in to comment.