fix: correct various typos across codebase (#25058)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
co-authored by
Alex | Interchain Labs
parent
f0d10d4a28
commit
c87394ef10
+1
-1
@@ -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),
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
@@ -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"];
|
||||
}
|
||||
|
||||
|
||||
@@ -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 [
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user