fix(x/bank): Better handling of negative spendable balances (#21407)

This commit is contained in:
Daniel Wedul
2024-09-10 18:12:48 +00:00
committed by GitHub
parent f220f8bf62
commit 71fa043ef4
5 changed files with 67 additions and 28 deletions
@@ -266,7 +266,7 @@ func TestGRPCQuerySpendableBalances(t *testing.T) {
assert.NilError(t, err)
req := banktypes.NewQuerySpendableBalancesRequest(addr1Str, nil)
testdata.DeterministicIterations(t, f.ctx, req, f.queryClient.SpendableBalances, 1777, false)
testdata.DeterministicIterations(t, f.ctx, req, f.queryClient.SpendableBalances, 1420, false)
}
func TestGRPCQueryTotalSupply(t *testing.T) {