Open capit0 opened 2 years ago
Using https://tenderly.co to debug, I can see that the call is failing when fetching data for this reserve: 0xe0c5a3a0cc93e67d39d4acf894a83cbd583e084c.
This contract is not verified though so I can't determine what the issue is. Perhaps there is a missing oracle or interest rate configuration for this asset?
This actually is the oracle:
0xe0c5a3a0cc93e67d39d4acf894a83cbd583e084c
So when it is called for one of the assets it reverts. I need to find out which asset though, but verifying is not possible because I do not know which arguments exactly went inside the constructor since I launched it through 1 of the complex scripts.
I added the rinkeby network and then deployed the contracts through the following command:
npm run hardhat:rinkeby aave:dev
The deployment + initializing process was successful, but then when I tried out the functions on a local fork I stumbled on an error when calling the getReservesData function. This is the error that I get:
This is the addressProvider contract:
https://rinkeby.etherscan.io/address/0xfB506bb8400aF24cDBbc7F0925E24Fa44266Cc72
And this is the poolData contract which is being called:
https://rinkeby.etherscan.io/address/0xe3bea87a04e056349002e7f394d3c4e733daa8ca
What might be causing this error?