From 446ad3e0d4599d19421826898212d647e96013d5 Mon Sep 17 00:00:00 2001 From: Alex Dorsch Date: Thu, 7 Apr 2022 16:00:03 -0600 Subject: [PATCH] fix: missing token balance (#3661) * increase gas required to read token balance * set token balance gas requirement to 185_000 --- src/lib/hooks/useCurrencyBalance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/hooks/useCurrencyBalance.ts b/src/lib/hooks/useCurrencyBalance.ts index 507b2da19e..e25245e881 100644 --- a/src/lib/hooks/useCurrencyBalance.ts +++ b/src/lib/hooks/useCurrencyBalance.ts @@ -47,7 +47,7 @@ export function useNativeCurrencyBalances(uncheckedAddresses?: (string | undefin } const ERC20Interface = new Interface(ERC20ABI) as Erc20Interface -const tokenBalancesGasRequirement = { gasRequired: 125_000 } +const tokenBalancesGasRequirement = { gasRequired: 185_000 } /** * Returns a map of token addresses to their eventually consistent token balances for a single account.