From c87394ef106331b1221dc10dd880f4102b4c147a Mon Sep 17 00:00:00 2001 From: anim001k <140460766+anim001k@users.noreply.github.com> Date: Thu, 31 Jul 2025 20:40:51 +0200 Subject: [PATCH] fix: correct various typos across codebase (#25058) Co-authored-by: Alex | Interchain Labs --- UPGRADE_GUIDE.md | 2 +- proto/cosmos/gov/v1/query.proto | 2 +- proto/cosmos/tx/v1beta1/tx.proto | 2 +- store/cachekv/benchmark_test.go | 2 +- x/gov/simulation/genesis.go | 6 +++--- x/group/internal/orm/sequence_property_test.go | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/UPGRADE_GUIDE.md b/UPGRADE_GUIDE.md index e737b3a173..057911c64e 100644 --- a/UPGRADE_GUIDE.md +++ b/UPGRADE_GUIDE.md @@ -449,7 +449,7 @@ options := ante.HandlerOptions{ SigVerifyOptions: []ante.SigVerificationDecoratorOption{ // change below as needed. ante.WithUnorderedTxGasCost(ante.DefaultUnorderedTxGasCost), - ante.WithMaxUnorderedTxTimeoutDuration(ante.DefaultMaxTimoutDuration), + ante.WithMaxUnorderedTxTimeoutDuration(ante.DefaultMaxTimeoutDuration), }, } ``` diff --git a/proto/cosmos/gov/v1/query.proto b/proto/cosmos/gov/v1/query.proto index d484aa10a6..ebb2127a0d 100644 --- a/proto/cosmos/gov/v1/query.proto +++ b/proto/cosmos/gov/v1/query.proto @@ -152,7 +152,7 @@ message QueryParamsResponse { // Deprecated: Prefer to use `params` instead. // tally_params defines the parameters related to tally. TallyParams tally_params = 3 [deprecated = true]; - // params defines all the paramaters of x/gov module. + // params defines all the parameters of x/gov module. Params params = 4 [(cosmos_proto.field_added_in) = "cosmos-sdk 0.47"]; } diff --git a/proto/cosmos/tx/v1beta1/tx.proto b/proto/cosmos/tx/v1beta1/tx.proto index 4beef8315e..c506b3b11d 100644 --- a/proto/cosmos/tx/v1beta1/tx.proto +++ b/proto/cosmos/tx/v1beta1/tx.proto @@ -220,7 +220,7 @@ message ModeInfo { // Fee includes the amount of coins paid in fees and the maximum // gas to be used by the transaction. The ratio yields an effective "gasprice", -// which must be above some mininum to be accepted into the mempool. +// which must be above some minimum to be accepted into the mempool. message Fee { // amount is the amount of coins to be paid as a fee repeated cosmos.base.v1beta1.Coin amount = 1 [ diff --git a/store/cachekv/benchmark_test.go b/store/cachekv/benchmark_test.go index 158549b4bd..36a6551c54 100644 --- a/store/cachekv/benchmark_test.go +++ b/store/cachekv/benchmark_test.go @@ -68,7 +68,7 @@ func BenchmarkDeepCacheStack13(b *testing.B) { type CacheStack struct { initialStore types.CacheKVStore // Context of the initial state before transaction execution. - // It's the context used by `StateDB.CommitedState`. + // It's the context used by `StateDB.CommittedState`. cacheStores []types.CacheKVStore } diff --git a/x/gov/simulation/genesis.go b/x/gov/simulation/genesis.go index 0686bc6bb6..3ebfd86eb9 100644 --- a/x/gov/simulation/genesis.go +++ b/x/gov/simulation/genesis.go @@ -129,8 +129,8 @@ func RandomizedGenState(simState *module.SimulationState) { var threshold sdkmath.LegacyDec simState.AppParams.GetOrGenerate(Threshold, &threshold, simState.Rand, func(r *rand.Rand) { threshold = GenThreshold(r) }) - var expitedVotingThreshold sdkmath.LegacyDec - simState.AppParams.GetOrGenerate(ExpeditedThreshold, &expitedVotingThreshold, simState.Rand, func(r *rand.Rand) { expitedVotingThreshold = GenExpeditedThreshold(r) }) + var expeditedVotingThreshold sdkmath.LegacyDec + simState.AppParams.GetOrGenerate(ExpeditedThreshold, &expeditedVotingThreshold, simState.Rand, func(r *rand.Rand) { expeditedVotingThreshold = GenExpeditedThreshold(r) }) var veto sdkmath.LegacyDec simState.AppParams.GetOrGenerate(Veto, &veto, simState.Rand, func(r *rand.Rand) { veto = GenVeto(r) }) @@ -140,7 +140,7 @@ func RandomizedGenState(simState *module.SimulationState) { govGenesis := v1.NewGenesisState( startingProposalID, - v1.NewParams(minDeposit, expeditedMinDeposit, depositPeriod, votingPeriod, expeditedVotingPeriod, quorum.String(), threshold.String(), expitedVotingThreshold.String(), veto.String(), minInitialDepositRatio.String(), proposalCancelRate.String(), "", simState.Rand.Intn(2) == 0, simState.Rand.Intn(2) == 0, simState.Rand.Intn(2) == 0, minDepositRatio.String()), + v1.NewParams(minDeposit, expeditedMinDeposit, depositPeriod, votingPeriod, expeditedVotingPeriod, quorum.String(), threshold.String(), expeditedVotingThreshold.String(), veto.String(), minInitialDepositRatio.String(), proposalCancelRate.String(), "", simState.Rand.Intn(2) == 0, simState.Rand.Intn(2) == 0, simState.Rand.Intn(2) == 0, minDepositRatio.String()), ) simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(govGenesis) } diff --git a/x/group/internal/orm/sequence_property_test.go b/x/group/internal/orm/sequence_property_test.go index ac73762d55..87aa0a65db 100644 --- a/x/group/internal/orm/sequence_property_test.go +++ b/x/group/internal/orm/sequence_property_test.go @@ -15,7 +15,7 @@ func TestSequence(t *testing.T) { func testSequenceMachine(t *rapid.T) { // Init sets up the real Sequence, including choosing a random initial value, - // and intialises the model state + // and initializes the model state ctx := NewMockContext() store := ctx.KVStore(storetypes.NewKVStoreKey("test"))