fix: multiple typos of different importance (#24987)

Co-authored-by: User <user@example.com>
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
crStiv
2025-07-24 21:22:04 +00:00
committed by GitHub
co-authored by User Alex | Interchain Labs
parent c047bf741c
commit 64348183e7
15 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ func TestRandomizedGenState1(t *testing.T) {
Rand: r,
}, "invalid memory address or nil pointer dereference"},
{
// panic => reason: numBonded != len(Accnounts)
// panic => reason: numBonded != len(Accounts)
module.SimulationState{
AppParams: make(simtypes.AppParams),
Cdc: cdc,
+1 -1
View File
@@ -107,7 +107,7 @@ func MsgUndelegateFactory(k *keeper.Keeper) simsx.SimMsgFactoryFn[*types.MsgUnde
delegator := testData.GetAccount(reporter, delAddr)
if hasMaxUD := must(k.HasMaxUnbondingDelegationEntries(ctx, delegator.Address, valAddr)); hasMaxUD {
reporter.Skipf("max unbodings")
reporter.Skipf("max unbondings")
return nil, nil
}
+1 -1
View File
@@ -622,7 +622,7 @@ func SimulateMsgBeginRedelegate(
}
if hasRecRedel {
return simtypes.NoOpMsg(types.ModuleName, msgType, "receveing redelegation is not allowed"), nil, nil // skip
return simtypes.NoOpMsg(types.ModuleName, msgType, "receiving redelegation is not allowed"), nil, nil // skip
}
// get random destination validator
+1 -1
View File
@@ -401,7 +401,7 @@ func (s *SimTestSuite) setupValidatorRewards(ctx sdk.Context, valAddress sdk.Val
decCoins := sdk.DecCoins{sdk.NewDecCoinFromDec(sdk.DefaultBondDenom, math.LegacyOneDec())}
historicalRewards := distrtypes.NewValidatorHistoricalRewards(decCoins, 2)
s.Require().NoError(s.distrKeeper.SetValidatorHistoricalRewards(ctx, valAddress, 2, historicalRewards))
// setup current revards
// setup current rewards
currentRewards := distrtypes.NewValidatorCurrentRewards(decCoins, 3)
s.Require().NoError(s.distrKeeper.SetValidatorCurrentRewards(ctx, valAddress, currentRewards))
}