Skip to content

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Oct 8, 2025

Adds a new method to ChangesetReader, get_account_before_block, that focuses on finding the account changeset for a specific account. This is prep for account changesets in static files.

See the implementation of AccountReader for HistoricalStateProviderRef, previously this was using direct db reads. When we move to account changesets in static files, we will need to use a provider method for getting changeset info for a single account. This will end up implemented with both db reads + static files.

@Rjected Rjected added the C-enhancement New feature or request label Oct 8, 2025
@Rjected Rjected requested a review from gakonst as a code owner October 8, 2025 00:21
@Rjected Rjected added the A-db Related to the database label Oct 8, 2025
@Rjected Rjected added the A-static-files Related to static files label Oct 8, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Oct 8, 2025
@Rjected Rjected force-pushed the dan/account-changeset-get-account branch from 85f281b to 1e39a28 Compare October 8, 2025 00:36
@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Oct 8, 2025
@Rjected Rjected added this pull request to the merge queue Oct 8, 2025
Merged via the queue into main with commit 6770ba9 Oct 8, 2025
41 checks passed
@Rjected Rjected deleted the dan/account-changeset-get-account branch October 8, 2025 13:26
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Oct 8, 2025
CarlBeek added a commit to CarlBeek/reth that referenced this pull request Oct 10, 2025
* main: (280 commits)
  refactor: remove needless collect() calls in trie tests (paradigmxyz#18937)
  chore(grafana): use precompile address as legend (paradigmxyz#18913)
  perf(tree): worker pooling for storage in multiproof generation (paradigmxyz#18887)
  feat: wait for new blocks when build is in progress (paradigmxyz#18831)
  chore: align node_config threshold constant (paradigmxyz#18914)
  docs: duplicate comment in Eip4844PoolTransactionError (paradigmxyz#18858)
  ci: cache hive simulator images to reduce prepare-hive job time (paradigmxyz#18899)
  refactor: replace collect().is_empty() with next().is_none() in tests (paradigmxyz#18902)
  feat(provider): add get_account_before_block to ChangesetReader (paradigmxyz#18898)
  refactor(engine): separate concerns in on_forkchoice_updated for better maintainability (paradigmxyz#18661)
  chore(node): simplify EngineApiExt bounds by removing redundant constraints (paradigmxyz#18905)
  fix(trie): Reveal extension child when extension is last remaining child of a branch (paradigmxyz#18891)
  chore: make clippy happy (paradigmxyz#18900)
  chore: relax `ChainSpec` impls (paradigmxyz#18894)
  refactor: eliminate redundant allocation in precompile cache example (paradigmxyz#18886)
  fix(era-utils): fix off-by-one for Excluded end bound in process_iter (paradigmxyz#18731)
  docs: yellowpaper sections in consensus implementation (paradigmxyz#18881)
  feat(storage): read headers and transactions only from static files (paradigmxyz#18788)
  feat: Use generic `HeaderTy` for `reth db get static-file headers` (paradigmxyz#18870)
  fix: streamline payload conversion in custom engine API (paradigmxyz#18864)
  ...
@jenpaff jenpaff moved this from Done to Completed in Reth Tracker Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-db Related to the database A-static-files Related to static files C-enhancement New feature or request

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

2 participants