Skip to content

Commit

Permalink
fix: don't remove min_self_delegation from the state and respect its …
Browse files Browse the repository at this point in the history
…proto index
  • Loading branch information
Max authored and xlab committed Apr 20, 2023
1 parent 9b2c13e commit 35f5aac
Show file tree
Hide file tree
Showing 2 changed files with 689 additions and 633 deletions.
14 changes: 10 additions & 4 deletions x/lsnative/proto/lsnative/staking/v1beta1/staking.proto
Expand Up @@ -117,14 +117,20 @@ message Validator {
google.protobuf.Timestamp unbonding_time = 9 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
// commission defines the commission parameters.
Commission commission = 10 [(gogoproto.nullable) = false];
// Number of shares self bonded from the validator
string total_validator_bond_shares = 11 [
// min_self_delegation is the validator's self declared minimum self delegation.
string min_self_delegation = 11 [
(cosmos_proto.scalar) = "cosmos.Int",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
(gogoproto.nullable) = false
];
// total_validator_bond_shares is the number of shares self bonded from the validator.
string total_validator_bond_shares = 12 [
(cosmos_proto.scalar) = "cosmos.Dec",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false
];
// Total number of shares either tokenized or owned by a liquid staking provider
string total_liquid_shares = 12 [
// total_liquid_shares is the total number of shares either tokenized or owned by a liquid staking provider.
string total_liquid_shares = 13 [
(cosmos_proto.scalar) = "cosmos.Dec",
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false
Expand Down

0 comments on commit 35f5aac

Please sign in to comment.