paradigmxyz/cryo

collecting storage diffs for block 0 is broken

banteg opened this issue · 2 comments

banteg commented

Version
cryo 0.2.0

Platform
linux x86_64

Description
I tried this code vs erigon client:

cryo storage_diffs -b 0

from erigon rpcdameon log:

method=trace_replayBlockTransactions
err="block 0000000000000000000000000000000000000000000000000000000000000000 not found"

block 0 should probably be skipped for storage diffs

I think would be not vise to skip them - as block can have storage changes

banteg commented

it only has genesis state. i filed a bug because the method crashes for block 0, so the cryo extraction crashes too.