docs: fix spelling mistakes (#13421)

This commit is contained in:
Ricardo M 2022-09-30 10:33:46 +01:00 committed by GitHub
parent bed4ba3ac8
commit e5dca07318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 31 additions and 31 deletions

View File

@ -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

View File

@ -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.

View File

@ -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"`

View File

@ -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"`
}

View File

@ -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"`
}

View File

@ -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.

View File

@ -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

View File

@ -19,7 +19,7 @@ message StoreInfo {
CommitID commit_id = 2 [(gogoproto.nullable) = false];
}
// CommitID defines the committment information when a specific store is
// CommitID defines the commitment information when a specific store is
// committed.
message CommitID {
option (gogoproto.goproto_stringer) = false;

View File

@ -189,7 +189,7 @@ message ABCIQueryResponse {
}
// 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.

View File

@ -31,7 +31,7 @@ message ValidatorOutstandingRewardsRecord {
// validator_address is the address of the validator.
string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// outstanding_rewards represents the oustanding rewards of a validator.
// outstanding_rewards represents the outstanding rewards of a validator.
repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2
[(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false];
}
@ -99,7 +99,7 @@ message ValidatorSlashEventRecord {
// validator_address is the address of the validator.
string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// height defines the block height at which the slash event occured.
// height defines the block height at which the slash event occurred.
uint64 height = 2;
// period is the period of the slash event.
uint64 period = 3;

View File

@ -17,7 +17,7 @@ service Query {
option (google.api.http).get = "/cosmos/distribution/v1beta1/params";
}
// ValidatorDistributionInfo queries validator commision and self-delegation rewards for validator
// ValidatorDistributionInfo queries validator commission and self-delegation rewards for validator
rpc ValidatorDistributionInfo(QueryValidatorDistributionInfoRequest)
returns (QueryValidatorDistributionInfoResponse) {
option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/{validator_address}";
@ -93,7 +93,7 @@ message QueryValidatorDistributionInfoResponse {
// self_bond_rewards defines the self delegations rewards.
repeated cosmos.base.v1beta1.DecCoin self_bond_rewards = 2
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"];
// commission defines the commision the validator received.
// commission defines the commission the validator received.
repeated cosmos.base.v1beta1.DecCoin commission = 3 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins",
(gogoproto.nullable) = false
@ -123,7 +123,7 @@ message QueryValidatorCommissionRequest {
// QueryValidatorCommissionResponse is the response type for the
// Query/ValidatorCommission RPC method
message QueryValidatorCommissionResponse {
// commission defines the commision the validator received.
// commission defines the commission the validator received.
ValidatorAccumulatedCommission commission = 1 [(gogoproto.nullable) = false];
}

View File

@ -17,10 +17,10 @@ message GenesisState {
repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false];
// proposals defines all the proposals present at genesis.
repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false];
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
DepositParams deposit_params = 5 [(gogoproto.nullable) = false];
// params defines all the paramaters of related to voting.
// params defines all the parameters of related to voting.
VotingParams voting_params = 6 [(gogoproto.nullable) = false];
// params defines all the paramaters of related to tally.
// params defines all the parameters of related to tally.
TallyParams tally_params = 7 [(gogoproto.nullable) = false];
}

View File

@ -223,7 +223,7 @@ message Proposal {
TallyResult final_tally_result = 9 [(gogoproto.nullable) = false];
// 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.

View File

@ -27,7 +27,7 @@ message DominoOp {
}
// 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
message ProofOp {
string type = 1;