protocol-v2
protocol-v2 copied to clipboard
Error: invalid ENS name while run tasks on localhost hardhat node network
Hi, I want to play with aave on my localhost but got Error: invalid ENS name.
- I checkouted https://github.com/aave/protocol-v2 repo.
- started forked hardhat local node yarn hardhat node --fork https://eth-mainnet.alchemyapi.io/v2/key.
- run 1,2,3,4 tasks from tasks/dev/ without errors
- task 5 yarn hardhat dev:initialize-lending-pool --pool Aave --network localhost throw Error: invalid ENS name (argument="name", value=undefined, code=INVALID_ARGUMENT, version=providers/5.4.5)
if I run tasks without the--network localhost flag tasks work fine. 🙂 any ideas?
same issue here.