juno
juno copied to clipboard
Sync returning 0 on starknet_blockNumber before first iteration
Describe the bug
When the server starts, the starknet_blockNumber RPC returns 0 while the first block isn’t synched, including the case when I’m restarting the sync from a block > 0. We need to update this value before starting the sync.
Expected behavior Return the real value that we have already synced.
Also, check this
The starting_block_hash is nil and the sync is running