Closed userbox020 closed 3 months ago
Your graph-node
config is incorrect. The Subgraph definition specifies mainnet
as the expected network.
Ensure that you have a chains
definition that looks like:
[chains]
...
[chains.mainnet]
...
Your
graph-node
config is incorrect. The Subgraph definition specifiesmainnet
as the expected network.Ensure that you have a
chains
definition that looks like:[chains] ... [chains.mainnet] ...
thanks for the quick reply bro, where do i suppose to check for the chains thing? in the subgraph.yaml
?
i share my subgraph.yaml
specVersion: 0.0.6
description: Ethereum Uniswap V3 Subgraph (powered by StreamingFast Substreams)
repository: https://github.com/streamingfast/substreams-uniswap-v3.git
schema:
file: ./schema.graphql
dataSources:
- kind: substreams
name: uniswap_v3
network: mainnet
source:
package:
moduleName: graph_out
file: substreams.spkg
mapping:
kind: substreams/graph-entities
apiVersion: 0.0.5
can you please elavorate for me more detail fix? i really dont know how to fix it @maoueh
Hello,
I'm trying to deploy the subgraph to my local host but im getting this error after
make deploy_local
Seems like
✖ Failed to deploy to Graph node http://127.0.0.1:8020/: network not supported by registrar: no network mainnet found on chain substreams
its the most important message in the error, but my local graph-node its working perfectly fine. I have already created and deployed an uniswap v2 subgraph to my local grap-node and its syncing as expected