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

UiPoolDataProvider.getReservesHumanized not working #431

Closed
olivbau opened this issue Oct 13, 2022 · 3 comments
Closed

UiPoolDataProvider.getReservesHumanized not working #431

olivbau opened this issue Oct 13, 2022 · 3 comments

Comments

@olivbau
Copy link

olivbau commented Oct 13, 2022

Bug Report

Package name / version

@aave/contract-helpers v1.7.1

Description

UiPoolDataProvider.getReservesHumanized() throw an error.

Error:
eModeLabel: overflow [ See: https://links.ethers.org/v5-errors-NUMERIC_FAULT-overflow ] (fault="overflow", operation="toNumber", value="312070026614174355834089907303725153299629842722816", code=NUMERIC_FAULT, version=bignumber/5.7.0)

ChainId used: ChainId.avalanche
Providers used:

    lendingPoolAddressProvider: '0xa97684ead0e402dc232d5a977953df7ecbab3cdb'
    uiIncentiveDataProviderAddress: '0x270f51cf3f681010b46f5c4ee2ad5120db33026f'
    uiPoolDataProviderAddress: '0xdbbfafc45983b4659e368a3025b81f69ab6e5093'
@olivbau
Copy link
Author

olivbau commented Oct 13, 2022

wrong providers

@olivbau olivbau closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2022
@khelil
Copy link

khelil commented Oct 19, 2022

Hi @olivbau 🖖 can you please share the right address for those provider...i have the same error and can't find them

@khelil
Copy link

khelil commented Oct 19, 2022

Nevermind...got them :

const uiPoolDataProviderAddress = "0xa7da242e099136A71fF975B8D78b79AA543c9182";
const uiIncentiveDataProviderAddress = "0x11979886A6dBAE27D7a72c49fCF3F23240D647bF";
const lendingPoolAddressProvider = "0xb6A86025F0FE1862B372cb0ca18CE3EDe02A318f";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants