Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 10 commits into from
Sep 10, 2024
Prev Previous commit
Next Next commit
Fix the integration test on SpendableBalances that broke because the …
…gas cost went down with this change.
  • Loading branch information
SpicyLemon committed Aug 26, 2024
commit 350c21beee81cc3be86aced3dbf2d2784d21bad3
2 changes: 1 addition & 1 deletion tests/integration/bank/keeper/deterministic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading