graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

Mainnet subgraph failed, with required capabilities: : A matching Ethereum network with NodeCapabilities { archive: false, traces: false } was not found.

Open rok4f opened this issue 2 years ago • 2 comments

A bug.

I try to deploy a subgraph to Mainnet mpmain and face this error:

Failed to start subgraph, code: SubgraphStartFailure, error: expected triggers adapter that matches deployment QmV4H49cp81n36EcHcEgKn1AMaie2LoTxu2vs1fm6UXRus[396313] with required capabilities: : A matching Ethereum network with NodeCapabilities { archive: false, traces: false } was not found.

When I deploy this subgraph to Rinkeby metapoker everything works fine.

rok4f avatar Sep 10 '22 09:09 rok4f

Additional info, if I delete the following event handler, the error is gone:

    - event: NftOverridden(indexed uint256,indexed address,indexed uint256)
      handler: handleNftOverridden

rok4f avatar Sep 10 '22 16:09 rok4f

Hi! Are you still having the above issue? I think there might have been a temporary glitch with the mainnet provider around a deployment

azf20 avatar Sep 12 '22 09:09 azf20

I just got this issue as well, not sure why. Any ideas around this? I feel this could be an RPC issue.

yohanelly95 avatar Nov 18 '22 04:11 yohanelly95

Hi - what network are you indexing and where are you deploying?

azf20 avatar Nov 18 '22 06:11 azf20

I am facing the same issue but with the Mumbai network because of callHandlers in my case.

shubham-rathod1 avatar Dec 30 '22 07:12 shubham-rathod1

For mainnet, I think this is an instance of https://github.com/graphprotocol/graph-node/issues/3204 For Mumbai, there is no trace_filter support so that will be persistent

azf20 avatar Apr 13 '23 15:04 azf20

For Mumbai, there is no trace_filter support so that will be persistent

Can you explain what you mean by that?

pheuberger avatar Sep 14 '23 10:09 pheuberger

@pheuberger certain subgraph features (e.g. callHandlers) rely on the optional trace_filter JSON RPC method, which isn't supported by the Mumbai blockchain client

azf20 avatar Sep 15 '23 13:09 azf20