Skip to content

feat(storage): RocksDB support for genesis init and tx lookup stage#21068

Closed
yongkangc wants to merge 1 commit intoyk/rocksdb-stage-utils-combinedfrom
yk/rocksdb-init-txlookup
Closed

feat(storage): RocksDB support for genesis init and tx lookup stage#21068
yongkangc wants to merge 1 commit intoyk/rocksdb-stage-utils-combinedfrom
yk/rocksdb-init-txlookup

Conversation

@yongkangc
Copy link
Member

@yongkangc yongkangc commented Jan 14, 2026

Summary
RocksDB support for genesis initialization and transaction lookup stage.

Changes

  • Add RocksDB transaction hash indexing during genesis init
  • Update TransactionLookup stage for RocksDB

Testing
Genesis init and tx lookup verified.


PR Stack

main
  ↑
#21063 (rocksdb-either-reader)
  ↑
#21068 (rocksdb-init-txlookup) ◀ you are here
  ↑
#21069 (rocksdb-cli-testutils)
  ↑
#21070 (rocksdb-cli)
  ↑
#21071 (rocksdb-docs)

@yongkangc yongkangc added the A-rocksdb Related to rocksdb integration label Jan 14, 2026
@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Jan 14, 2026
@yongkangc yongkangc force-pushed the yk/rocksdb-init-txlookup branch from be4ffaf to 06b42b8 Compare January 14, 2026 20:30
@joshieDo joshieDo force-pushed the joshie/par-save-blocks-rocksdb branch 2 times, most recently from fff917c to d8a600c Compare January 14, 2026 21:38
@yongkangc yongkangc force-pushed the yk/rocksdb-init-txlookup branch 2 times, most recently from b19bda6 to ff75aa9 Compare January 15, 2026 10:12
@yongkangc yongkangc changed the base branch from joshie/par-save-blocks-rocksdb to yk/rocksdb-either-writer-ext January 15, 2026 11:18
@yongkangc yongkangc changed the base branch from yk/rocksdb-either-writer-ext to yk/rocksdb-index-history-stages January 15, 2026 11:20
Copy link
Member

@gakonst gakonst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review: PR #21068

CI Status

  • ❌ 5 failures

Changes Summary

RocksDB support for genesis init and tx lookup stage.

Review Notes

This PR is downstream of the core RocksDB PRs. Will need full review once upstream PRs (#21063-#21066) pass CI.

Key check needed: Verify genesis init correctly initializes RocksDB tables and tx lookup stage properly routes writes.


Review by @tempo_ai

Add RocksDB support for:
- Genesis history initialization via EitherWriter
- TransactionLookup stage unwind operations
- RocksDB provider append_*_history_shard methods
- Metrics for RocksDB write operations
@yongkangc yongkangc force-pushed the yk/rocksdb-init-txlookup branch from b365f5f to a7edbcd Compare January 16, 2026 13:10
@yongkangc yongkangc changed the base branch from yk/rocksdb-index-history-stages to yk/rocksdb-stage-utils-combined January 16, 2026 13:11
@yongkangc yongkangc closed this Jan 19, 2026
@github-project-automation github-project-automation bot moved this from Backlog to Done in Reth Tracker Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rocksdb Related to rocksdb integration

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants