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

Error: invalid ENS name while run tasks on localhost hardhat node network

Open gefalko opened this issue 4 years ago • 1 comments

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?

gefalko avatar Oct 12 '21 07:10 gefalko

same issue here.

0x1337z avatar Jun 16 '22 14:06 0x1337z