docs: fix spelling mistakes (#13421)
This commit is contained in:
@@ -1627,7 +1627,7 @@ func (x *StoreInfo) GetCommitId() *CommitID {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CommitID defines the committment information when a specific store is
|
||||
// CommitID defines the commitment information when a specific store is
|
||||
// committed.
|
||||
type CommitID struct {
|
||||
state protoimpl.MessageState
|
||||
|
||||
@@ -11261,7 +11261,7 @@ func (x *ABCIQueryResponse) GetCodespace() string {
|
||||
}
|
||||
|
||||
// ProofOp defines an operation used for calculating Merkle root. The data could
|
||||
// be arbitrary format, providing nessecary data for example neighbouring node
|
||||
// be arbitrary format, providing necessary data for example neighbouring node
|
||||
// hash.
|
||||
//
|
||||
// Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
|
||||
|
||||
@@ -5373,7 +5373,7 @@ type ValidatorOutstandingRewardsRecord struct {
|
||||
|
||||
// validator_address is the address of the validator.
|
||||
ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
|
||||
// outstanding_rewards represents the oustanding rewards of a validator.
|
||||
// outstanding_rewards represents the outstanding rewards of a validator.
|
||||
OutstandingRewards []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=outstanding_rewards,json=outstandingRewards,proto3" json:"outstanding_rewards,omitempty"`
|
||||
}
|
||||
|
||||
@@ -5623,7 +5623,7 @@ type ValidatorSlashEventRecord struct {
|
||||
|
||||
// validator_address is the address of the validator.
|
||||
ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
|
||||
// height defines the block height at which the slash event occured.
|
||||
// height defines the block height at which the slash event occurred.
|
||||
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
|
||||
// period is the period of the slash event.
|
||||
Period uint64 `protobuf:"varint,3,opt,name=period,proto3" json:"period,omitempty"`
|
||||
|
||||
@@ -9546,7 +9546,7 @@ type QueryValidatorDistributionInfoResponse struct {
|
||||
OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"`
|
||||
// self_bond_rewards defines the self delegations rewards.
|
||||
SelfBondRewards []*v1beta1.DecCoin `protobuf:"bytes,2,rep,name=self_bond_rewards,json=selfBondRewards,proto3" json:"self_bond_rewards,omitempty"`
|
||||
// commission defines the commision the validator received.
|
||||
// commission defines the commission the validator received.
|
||||
Commission []*v1beta1.DecCoin `protobuf:"bytes,3,rep,name=commission,proto3" json:"commission,omitempty"`
|
||||
}
|
||||
|
||||
@@ -9711,7 +9711,7 @@ type QueryValidatorCommissionResponse struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// commission defines the commision the validator received.
|
||||
// commission defines the commission the validator received.
|
||||
Commission *ValidatorAccumulatedCommission `protobuf:"bytes,1,opt,name=commission,proto3" json:"commission,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -1095,11 +1095,11 @@ type GenesisState struct {
|
||||
Votes []*Vote `protobuf:"bytes,3,rep,name=votes,proto3" json:"votes,omitempty"`
|
||||
// proposals defines all the proposals present at genesis.
|
||||
Proposals []*Proposal `protobuf:"bytes,4,rep,name=proposals,proto3" json:"proposals,omitempty"`
|
||||
// params defines all the paramaters of related to deposit.
|
||||
// params defines all the parameters of related to deposit.
|
||||
DepositParams *DepositParams `protobuf:"bytes,5,opt,name=deposit_params,json=depositParams,proto3" json:"deposit_params,omitempty"`
|
||||
// params defines all the paramaters of related to voting.
|
||||
// params defines all the parameters of related to voting.
|
||||
VotingParams *VotingParams `protobuf:"bytes,6,opt,name=voting_params,json=votingParams,proto3" json:"voting_params,omitempty"`
|
||||
// params defines all the paramaters of related to tally.
|
||||
// params defines all the parameters of related to tally.
|
||||
TallyParams *TallyParams `protobuf:"bytes,7,opt,name=tally_params,json=tallyParams,proto3" json:"tally_params,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
@@ -7533,10 +7533,10 @@ func (x *MemberRequest) GetMetadata() string {
|
||||
|
||||
// ThresholdDecisionPolicy is a decision policy where a proposal passes when it
|
||||
// satisfies the two following conditions:
|
||||
// 1. The sum of all `YES` voters' weights is greater or equal than the defined
|
||||
// `threshold`.
|
||||
// 2. The voting and execution periods of the proposal respect the parameters
|
||||
// given by `windows`.
|
||||
// 1. The sum of all `YES` voters' weights is greater or equal than the defined
|
||||
// `threshold`.
|
||||
// 2. The voting and execution periods of the proposal respect the parameters
|
||||
// given by `windows`.
|
||||
type ThresholdDecisionPolicy struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -7585,10 +7585,10 @@ func (x *ThresholdDecisionPolicy) GetWindows() *DecisionPolicyWindows {
|
||||
|
||||
// PercentageDecisionPolicy is a decision policy where a proposal passes when
|
||||
// it satisfies the two following conditions:
|
||||
// 1. The percentage of all `YES` voters' weights out of the total group weight
|
||||
// is greater or equal than the given `percentage`.
|
||||
// 2. The voting and execution periods of the proposal respect the parameters
|
||||
// given by `windows`.
|
||||
// 1. The percentage of all `YES` voters' weights out of the total group weight
|
||||
// is greater or equal than the given `percentage`.
|
||||
// 2. The voting and execution periods of the proposal respect the parameters
|
||||
// given by `windows`.
|
||||
type PercentageDecisionPolicy struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -7950,7 +7950,7 @@ type Proposal struct {
|
||||
// whichever happens first.
|
||||
FinalTallyResult *TallyResult `protobuf:"bytes,9,opt,name=final_tally_result,json=finalTallyResult,proto3" json:"final_tally_result,omitempty"`
|
||||
// voting_period_end is the timestamp before which voting must be done.
|
||||
// Unless a successfull MsgExec is called before (to execute a proposal whose
|
||||
// Unless a successful MsgExec is called before (to execute a proposal whose
|
||||
// tally is successful before the voting period ends), tallying will be done
|
||||
// at this point, and the `final_tally_result`and `status` fields will be
|
||||
// accordingly updated.
|
||||
|
||||
@@ -2919,7 +2919,7 @@ func (x *DominoOp) GetOutput() string {
|
||||
}
|
||||
|
||||
// ProofOp defines an operation used for calculating Merkle root
|
||||
// The data could be arbitrary format, providing nessecary data
|
||||
// The data could be arbitrary format, providing necessary data
|
||||
// for example neighbouring node hash
|
||||
type ProofOp struct {
|
||||
state protoimpl.MessageState
|
||||
|
||||
Reference in New Issue
Block a user