I used ganache-cli + infura to fork ETH mainnet so I could use the Uniswap router in my development environment. However when deploying my contract I keep getting a strange NaN error I haven't seen before.

The contract deploys on my local ganache-cli just fine if I run ganache-cli without --fork. I feel like my Infura key is maybe not allowed to retrieve data from the node, but I'm not sure.

This is the output in my terminal after I enter truffle deploy --reset --network development

https://pastebin.com/uGPcnt9S

May 14, 2022, 12:49 PM

© 2024 Draquery.com All rights reserved.