juno icon indicating copy to clipboard operation
juno copied to clipboard

Sync returning 0 on starknet_blockNumber before first iteration

Open stdevMac opened this issue 3 years ago • 1 comments

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.

stdevMac avatar Aug 18 '22 14:08 stdevMac

Also, check this image The starting_block_hash is nil and the sync is running

adriantpaez avatar Aug 18 '22 14:08 adriantpaez