Commits
Click on a commit to change the comparison rangerefactor(stages): deduplicate account/storage history shard loading
Introduces a generic `load_sharded_history` function that consolidates the
duplicated shard-loading logic between account history and storage history
stages. This reduces ~150 lines of duplicated code.
The refactor:
- Creates a generic function with closure parameters for table-specific ops
- `load_account_history` and `load_storage_history` are now thin wrappers
- Preserves all invariants: u64::MAX sentinel, append vs upsert, partial buffering
- Both MDBX and RocksDB backends continue to work via EitherWriter
No behavioral changes - this is a pure refactor for maintainability. style: fix formatting in utils.rs fix: address clippy warnings in utils.rs