fix: missing token balance (#3661)

* increase gas required to read token balance

* set token balance gas requirement to 185_000
This commit is contained in:
Alex Dorsch 2022-04-07 16:00:03 -06:00 committed by GitHub
parent 65e58a08cf
commit 446ad3e0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.