Skip to content

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

@moconnell

Description

@moconnell

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions