diff --git a/x/issuance/simulation/operations.go b/x/issuance/simulation/operations.go index 9cf6bb89..b8352481 100644 --- a/x/issuance/simulation/operations.go +++ b/x/issuance/simulation/operations.go @@ -125,8 +125,10 @@ func SimulateMsgIssueTokens(ak types.AccountKeeper, k keeper.Keeper) simulation. maxAmount := asset.RateLimit.Limit.Sub(supply.CurrentSupply.Amount) if maxAmount.IsPositive() && maxAmount.GT(sdk.OneInt()) { randomAmount = simulation.RandIntBetween(r, 1, int(maxAmount.Int64())) - } else { + } else if maxAmount.Equal(sdk.OneInt()) { randomAmount = 1 + } else { + return simulation.NoOpMsg(types.ModuleName), nil, nil } }