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

Graph Node start sync from block 0

Open mipsel64 opened this issue 4 years ago • 2 comments

Do you want to request a feature or report a bug?

  • Feature

What is the current behavior? Currently, graph-node start sync from block 0.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior? We can tell the graph node what the genesis block is. Because, there are some chains, the genesis block start from 1.

Jun 09 11:21:31.137 WARN Trying again after eth_getBlockByNumber(0, false) RPC call failed (attempt #10) with result Err(Ethereum node could not find genesis block), provider: velas-rpc-0

mipsel64 avatar Jun 09 '22 15:06 mipsel64

add startBlock: in your subgraph.yaml

khelaia avatar Jun 11 '22 12:06 khelaia

Closed by #3650

leoyvens avatar Jun 11 '22 22:06 leoyvens