Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: "Failed to fetch ABI from Etherscan: getaddrinfo ENOTFOUND api-hardhat.etherscan.io" #31

Open
moconnell opened this issue May 17, 2023 · 1 comment

Comments

@moconnell
Copy link

Looks like I'm getting the same error as #27 - I am calling add on top of an existing subgraph folder however:

- Add a new dataSource FooFooV1
  Initiating graph add command
- Add a new dataSource FooFooV1
- Fetching ABI from Etherscan
✖ Failed to fetch ABI from Etherscan: getaddrinfo ENOTFOUND api-hardhat.etherscan.io
✖ Failed to add a new dataSource DeVoxShamanSummonerV1: getaddrinfo ENOTFOUND api-hardhat.etherscan.io
Error HH604: Error running JSON-RPC server: ERROR processing /foo/evm/deploy/020_Graph_Init.ts:
Error: getaddrinfo ENOTFOUND api-hardhat.etherscan.io
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
For more info go to https://hardhat.org/HH604 or run Hardhat with --show-stack-traces
error Command failed with exit code 1.

Shame it's not being actively developed btw. What's the alternative route, short of deploying stuff to Goerli or wherever and then using the regular Graph CLI?

Originally posted by @moconnell in #27 (comment)

@dimitrovmaksim
Copy link
Member

Do you have a repo where I can reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants