protocol-v2 icon indicating copy to clipboard operation
protocol-v2 copied to clipboard

Cannot deploy UI-provider properly on hardhat network

Open tarikermis opened this issue 3 years ago • 1 comments

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)

tarikermis avatar Dec 12 '21 18:12 tarikermis

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

rdotterer09 avatar May 22 '22 22:05 rdotterer09