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:
co-authored by
User
Alex | Interchain Labs
parent
c047bf741c
commit
64348183e7
@@ -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,
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user