Skip to content

Fix typos #762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion __fixtures__/chain1/cosmos/auth/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";

// GenesisState defines the auth module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];

// accounts are the accounts present at genesis.
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/cosmos/bank/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";

// GenesisState defines the bank module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];

// balances is an array containing the balances of all the accounts.
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/chain1/cosmos/distribution/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -112,7 +112,7 @@ message GenesisState {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];

// fee_pool defines the fee pool at genesis.
Expand Down
6 changes: 3 additions & 3 deletions __fixtures__/chain1/cosmos/gov/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ message GenesisState {
repeated Vote votes = 3;
// proposals defines all the proposals present at genesis.
repeated Proposal proposals = 4;
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
DepositParams deposit_params = 5;
// params defines all the paramaters of related to voting.
// params defines all the parameters of related to voting.
VotingParams voting_params = 6;
// params defines all the paramaters of related to tally.
// params defines all the parameters of related to tally.
TallyParams tally_params = 7;
}
6 changes: 3 additions & 3 deletions __fixtures__/chain1/cosmos/gov/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
2 changes: 1 addition & 1 deletion __fixtures__/chain1/cosmos/mint/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ message GenesisState {
// minter is a space for holding current inflation information.
Minter minter = 1 [(gogoproto.nullable) = false];

// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 2 [(gogoproto.nullable) = false];
}
2 changes: 1 addition & 1 deletion __fixtures__/chain1/cosmos/slashing/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "cosmos_proto/cosmos.proto";

// GenesisState defines the slashing module's genesis state.
message GenesisState {
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
Params params = 1 [(gogoproto.nullable) = false];

// signing_infos represents a map between validator addresses and their
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/cosmos/staking/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "cosmos_proto/cosmos.proto";

// GenesisState defines the staking module's genesis state.
message GenesisState {
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
Params params = 1 [(gogoproto.nullable) = false];

// last_total_power tracks the total amounts of bonded tokens recorded during
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/evmos/inflation/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option go_package = "github.com/tharsis/evmos/v4/x/inflation/types";

// GenesisState defines the inflation module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [ (gogoproto.nullable) = false ];
// amount of past periods, based on the epochs per period param
uint64 period = 2;
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/evmos/recovery/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ option go_package = "github.com/tharsis/evmos/v4/x/recovery/types";

// GenesisState defines the recovery module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [ (gogoproto.nullable) = false ];
}

Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/google/api/expr/v1alpha1/eval.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ option java_package = "com.google.api.expr.v1alpha1";

// The state of an evaluation.
//
// Can represent an inital, partial, or completed state of evaluation.
// Can represent an initial, partial, or completed state of evaluation.
message EvalState {
// A single evalution result.
message Result {
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/osmosis/incentives/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ message GenesisState {
// gauges are all gauges that should exist at genesis
repeated Gauge gauges = 2 [ (gogoproto.nullable) = false ];
// lockable_durations are all lockup durations that gauges can be locked for
// in order to recieve incentives
// in order to receive incentives
repeated google.protobuf.Duration lockable_durations = 3 [
(gogoproto.nullable) = false,
(gogoproto.stdduration) = true,
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/chain1/osmosis/incentives/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ service Query {
option (google.api.http).get =
"/osmosis/incentives/v1beta1/active_gauges_per_denom";
}
// Returns scheduled gauges that have not yet occured
// Returns scheduled gauges that have not yet occurred
rpc UpcomingGauges(UpcomingGaugesRequest) returns (UpcomingGaugesResponse) {
option (google.api.http).get =
"/osmosis/incentives/v1beta1/upcoming_gauges";
}
// UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured
// UpcomingGaugesPerDenom returns scheduled gauges that have not yet occurred
// by denom
rpc UpcomingGaugesPerDenom(UpcomingGaugesPerDenomRequest)
returns (UpcomingGaugesPerDenomResponse) {
Expand Down Expand Up @@ -156,7 +156,7 @@ message RewardsEstRequest {
int64 end_epoch = 3;
}
message RewardsEstResponse {
// Estimated coin rewards that will be recieved at provided address
// Estimated coin rewards that will be received at provided address
// from specified locks between current time and end epoch
repeated cosmos.base.v1beta1.Coin coins = 1 [
(gogoproto.nullable) = false,
Expand All @@ -166,7 +166,7 @@ message RewardsEstResponse {

message QueryLockableDurationsRequest {}
message QueryLockableDurationsResponse {
// Time durations that users can lock coins for in order to recieve rewards
// Time durations that users can lock coins for in order to receive rewards
repeated google.protobuf.Duration lockable_durations = 1 [
(gogoproto.nullable) = false,
(gogoproto.stdduration) = true,
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/osmosis/mint/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ message GenesisState {
// minter is an abstraction for holding current rewards information.
Minter minter = 1 [ (gogoproto.nullable) = false ];

// params defines all the paramaters of the mint module.
// params defines all the parameters of the mint module.
Params params = 2 [ (gogoproto.nullable) = false ];

// reduction_started_epoch is the first epoch in which the reduction of mint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option go_package = "github.com/osmosis-labs/osmosis/v13/x/pool-incentives/types

// GenesisState defines the pool incentives module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [ (gogoproto.nullable) = false ];
repeated google.protobuf.Duration lockable_durations = 2 [
(gogoproto.nullable) = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ message ReplacePoolIncentivesProposal {

// UpdatePoolIncentivesProposal is a gov Content type for updating the pool
// incentives. If a UpdatePoolIncentivesProposal passes, all the DistrRecords
// in the proposals are edited. An existing DistrRecord is not overriden unless
// in the proposals are edited. An existing DistrRecord is not overridden unless
// explicitly included in the proposal.
// This differs from an ReplacePoolIncentivesProposal because it only does an
// in place update of the DistrRecords for gauges explicitly mentioned in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option go_package = "github.com/osmosis-labs/osmosis/v13/x/tokenfactory/types";

// GenesisState defines the tokenfactory module's genesis state.
message GenesisState {
// params defines the paramaters of the module.
// params defines the parameters of the module.
Params params = 1 [ (gogoproto.nullable) = false ];

repeated GenesisDenom factory_denoms = 2 [
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain1/osmosis/twap/v1beta1/twap_record.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ message TwapRecord {
// "github.com/cosmos/cosmos-sdk/types.Dec",
// (gogoproto.nullable) = false];

// This field contains the time in which the last spot price error occured.
// This field contains the time in which the last spot price error occurred.
// It is used to alert the caller if they are getting a potentially erroneous
// TWAP, due to an unforeseen underlying error.
google.protobuf.Timestamp last_error_time = 11 [
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain2/cosmos/auth/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";

// GenesisState defines the auth module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];

// accounts are the accounts present at genesis.
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain2/cosmos/bank/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";

// GenesisState defines the bank module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];

// balances is an array containing the balances of all the accounts.
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/chain2/cosmos/distribution/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ message ValidatorSlashEventRecord {

// validator_address is the address of the validator.
string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""];
// 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;
Expand All @@ -116,7 +116,7 @@ message GenesisState {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"params\""];

// fee_pool defines the fee pool at genesis.
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain2/cosmos/mint/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ message GenesisState {
// minter is a space for holding current inflation information.
Minter minter = 1 [(gogoproto.nullable) = false];

// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 2 [(gogoproto.nullable) = false];
}
2 changes: 1 addition & 1 deletion __fixtures__/chain2/cosmos/slashing/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "cosmos/slashing/v1beta1/slashing.proto";

// GenesisState defines the slashing module's genesis state.
message GenesisState {
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
Params params = 1 [(gogoproto.nullable) = false];

// signing_infos represents a map between validator addresses and their
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/chain2/cosmos/staking/v1beta1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "cosmos/staking/v1beta1/staking.proto";

// GenesisState defines the staking module's genesis state.
message GenesisState {
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
Params params = 1 [(gogoproto.nullable) = false];

// last_total_power tracks the total amounts of bonded tokens recorded during
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";

// GenesisState defines the auth module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];

// accounts are the accounts present at genesis.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";

// GenesisState defines the bank module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];

// balances is an array containing the balances of all the accounts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ message ValidatorSlashEventRecord {

// validator_address is the address of the validator.
string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""];
// 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;
Expand All @@ -121,7 +121,7 @@ message GenesisState {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;

// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 1
[(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"params\"", (amino.dont_omitempty) = true];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ message GenesisState {
// proposals defines all the proposals present at genesis.
repeated Proposal proposals = 4
[(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false, (amino.dont_omitempty) = true];
// 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, (gogoproto.moretags) = "yaml:\"deposit_params\"", (amino.dont_omitempty) = true];
// 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, (gogoproto.moretags) = "yaml:\"voting_params\"", (amino.dont_omitempty) = true];
// 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, (gogoproto.moretags) = "yaml:\"tally_params\"", (amino.dont_omitempty) = true];
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ message GenesisState {
// minter is a space for holding current inflation information.
Minter minter = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];

// params defines all the paramaters of the module.
// params defines all the parameters of the module.
Params params = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "amino/amino.proto";

// GenesisState defines the slashing module's genesis state.
message GenesisState {
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
Params params = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];

// signing_infos represents a map between validator addresses and their
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "amino/amino.proto";

// GenesisState defines the staking module's genesis state.
message GenesisState {
// params defines all the paramaters of related to deposit.
// params defines all the parameters of related to deposit.
Params params = 1 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];

// last_total_power tracks the total amounts of bonded tokens recorded during
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ message ReplaceMigrationRecordsProposal {
// UpdateMigrationRecordsProposal is a gov Content type for updating the
// migration records. If a UpdateMigrationRecordsProposal passes, all the
// MigrationRecords in the proposals are edited. An existing
// BalancerToConcentratedPoolLink is not overriden unless explicitly included in
// BalancerToConcentratedPoolLink is not overridden unless explicitly included in
// the proposal. This differs from a ReplaceMigrationRecordsProposal because it
// only does an in place update of the MigrationRecords for records explicitly
// mentioned in the proposal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ message GenesisState {
// gauges are all gauges that should exist at genesis
repeated Gauge gauges = 2 [ (gogoproto.nullable) = false ];
// lockable_durations are all lockup durations that gauges can be locked for
// in order to recieve incentives
// in order to receive incentives
repeated google.protobuf.Duration lockable_durations = 3 [
(gogoproto.nullable) = false,
(gogoproto.stdduration) = true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ service Query {
option (google.api.http).get =
"/osmosis/incentives/v1beta1/active_gauges_per_denom";
}
// Returns scheduled gauges that have not yet occured
// Returns scheduled gauges that have not yet occurred
rpc UpcomingGauges(UpcomingGaugesRequest) returns (UpcomingGaugesResponse) {
option (google.api.http).get =
"/osmosis/incentives/v1beta1/upcoming_gauges";
}
// UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured
// UpcomingGaugesPerDenom returns scheduled gauges that have not yet occurred
// by denom
rpc UpcomingGaugesPerDenom(UpcomingGaugesPerDenomRequest)
returns (UpcomingGaugesPerDenomResponse) {
Expand Down Expand Up @@ -156,7 +156,7 @@ message RewardsEstRequest {
int64 end_epoch = 3;
}
message RewardsEstResponse {
// Estimated coin rewards that will be recieved at provided address
// Estimated coin rewards that will be received at provided address
// from specified locks between current time and end epoch
repeated cosmos.base.v1beta1.Coin coins = 1 [
(gogoproto.nullable) = false,
Expand All @@ -166,7 +166,7 @@ message RewardsEstResponse {

message QueryLockableDurationsRequest {}
message QueryLockableDurationsResponse {
// Time durations that users can lock coins for in order to recieve rewards
// Time durations that users can lock coins for in order to receive rewards
repeated google.protobuf.Duration lockable_durations = 1 [
(gogoproto.nullable) = false,
(gogoproto.stdduration) = true,
Expand Down
Loading
Loading