- first find when we have actual state found give big timeout because it can take a bit of time
$ cast rpc --rpc-timeout=9999999999 --rpc-url=localhost:3545 debug_getAccessibleState $(cast
to-hex START_BLOCK) $(cast to-hex END_BLOCK)
where START_BLOCK
is the beginning the search and END_BLOCK
is the end of the search
- Get the block hash and rewind the chain to it