Commits
Click on a commit to change the comparison rangechore: remove internal ralph-loop file from PR feat(rocksdb): add CLI flags for RocksDB storage configuration
Add new CLI flags to control RocksDB storage for history indices:
- `--rocksdb.account-history`: Store AccountsHistory in RocksDB
- `--rocksdb.storages-history`: Store StoragesHistory in RocksDB
- `--rocksdb.tx-hash-numbers`: Store TransactionHashNumbers in RocksDB
Also adds:
- Configuration validation at startup to ensure CLI flags match stored settings
- Settings comparison methods on StorageSettings
- E2E tests for MDBX deletion recovery and data consistency
- Updated e2e_rocksdb_test.py with new test cases refactor: remove RocksDBArgs, simplify storage settings
Replace separate RocksDBArgs with single --storage.rocksdb flag in StaticFilesArgs.
This simplifies the CLI by using one toggle for MDBX vs RocksDB choice. fix: use EitherWriter for history index insertion in edge mode
In edge mode, insert_account_history_index and insert_storage_history_index
were writing to MDBX tables, but EitherReader reads from RocksDB. This
caused exex backfill tests to fail because account balances couldn't be
found during historical state lookups.
Changes:
- Add append_account_history_shard and append_storage_history_shard methods
to EitherWriter for RocksDB support
- Update insert_account_history_index to use with_rocksdb_batch + EitherWriter
- Update insert_storage_history_index to use with_rocksdb_batch + EitherWriter
- Remove unused append_history_index method from DatabaseProvider
- Update init_genesis_history test to check RocksDB in edge mode docs: fix unresolved link to StorageSettings docs: update CLI documentation for --storage.rocksdb flag