mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
* introduce state transitions and revert/modify block bodies table * init refactor * revamp transaction iteration based on bodies and add state transition mappings * change expected return on empty db execution * interim commit * fix body downloader & stage * refactor(bodies/dl): make fetch bodies fn more clear * chore: disable unused vars/fns temporarily until exec is back * chore: fmt * test: fix tests * use transitions in execution stage * clarify empty unwind test * remove last_tx_index fn * rename fn and var names * fix full block response comment * rename fetcher`s get_block_body to get_block_bodies * Update crates/stages/src/db.rs Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> * fmt * fix index overlap check error * uncomment eth chain command * fix doc comment * typos * cleanup * any_last_tx_index -> last_tx_index Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>