aave / protocol-v2

Aave Protocol V2
https://aave.com
Other
668 stars 754 forks source link

Cannot deploy UI-provider properly on hardhat network #257

Open tarikermis opened 2 years ago

tarikermis commented 2 years ago

Hello, I am currently trying to deploy aave-protocol and the aave ui on a local (hardhat) network. The contracts deploy to the aave-docker-hardhat local network just fine, but the UiPoolDataProvider (and the UiIncentiveDataProvider) have a faulty address (0x7c2C195CD6D34B8F845992d380aADB2730bB9C6F in my case). I tried running the develop and master branches of the protocol + the feat/UiPoolDataProviderV2-ethbased feature branch but no luck.

On the UI the error is as follows:

e Error: call revert exception (method="getReservesData(address)", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.4.0) at Logger.makeError (index.ts:213) at Logger.throwError (index.ts:225) at Interface.decodeFunctionResult (interface.ts:425) at Contract.<anonymous> (index.ts:332) at Generator.next (<anonymous>) at fulfilled (index.ts:2)

rdotterer09 commented 2 years ago

const poolAddress = "0x123..."; await contract.getReservesData(poolAddress);