**WITH FIX** HH Error: There are multiple artifacts for contract "ILendingPoolAddressesProvider" #646
Equious
started this conversation in
Show and tell
Replies: 1 comment
-
Yep... Maybe we should add this to chronological updates. What do you think? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hmm.. Ran into kind of a weird error when trying to get the Aave Lending Pool address and just wanted to shout an FYI out there in case someone else had the same experience.
When my project compiled it created 2 artifacts for ILendingPoolAddressProvider (because I'd created a manual interface AND added the @aave package) .. so this function was getting confused:
I ended up having to swap
ILendingPoolAddressesProvider
for it's whole path"@aave/protocol-v2/contracts/interfaces/ILendingPoolAddressesProvider.sol:ILendingPoolAddressesProvider"
to specify which artifact the script was looking for.Alternatively - deleting one or the other would probably work.
Beta Was this translation helpful? Give feedback.
All reactions