I have cloned gzliudan/graph-node but still get these errors | Aug 31 13:12:23.552 WARN Trying again after eth_getBlockByNumber(0, false) RPC call failed (attempt #16) with result Err(Decoder error: Error("invalid length 43, expected a (both 0x-prefixed or not) hex string with length of 40", line: 0, column: 0)), provider: mainnet-rpc-0 and when trying to deploy Failed to deploy to Graph node http://localhost:8020/: network not supported by registrar: no network mainnet found on chain ethereum
Hi
You need to use the GitHub we provide we have modified the graph source code to be adoptable with xdc network.
I have cloned gzliudan/graph-node but still get these errors
| Aug 31 13:12:23.552 WARN Trying again after eth_getBlockByNumber(0, false) RPC call failed (attempt #16) with result Err(Decoder error: Error("invalid length 43, expected a (both 0x-prefixed or not) hex string with length of 40", line: 0, column: 0)), provider: mainnet-rpc-0
and when trying to deployFailed to deploy to Graph node http://localhost:8020/: network not supported by registrar: no network mainnet found on chain ethereum
let me check
you havent switched to the xdc branch
git checkout -b xdc origin/xdc