The block indices database used in the world state allows for multiple block numbers to be at the same index (zero size blocks). It does this by storing a vector of block numbers against the index. This should be changed to storing a start and end block number as the block numbers are always consecutive.
The block indices database used in the world state allows for multiple block numbers to be at the same index (zero size blocks). It does this by storing a vector of block numbers against the index. This should be changed to storing a start and end block number as the block numbers are always consecutive.