Skip to content

refactor(tries): use SparseStateTrie::update_account_stateless from reth#13

Merged
figtracer merged 1 commit intoparadigmxyz:mainfrom
figtracer:gustavo/use-update-account-stateless
Apr 5, 2026
Merged

refactor(tries): use SparseStateTrie::update_account_stateless from reth#13
figtracer merged 1 commit intoparadigmxyz:mainfrom
figtracer:gustavo/use-update-account-stateless

Conversation

@figtracer
Copy link
Copy Markdown
Collaborator

Summary

  • Replaces 26 lines of manual account update logic in calculate_state_root with a single call to trie.update_account_stateless()
  • Removes the TODO about upstreaming changes to reth
  • Cleans up unused imports (Encodable, TRIE_ACCOUNT_RLP_MAX_SIZE, SparseTrie)

Blocked on

@figtracer figtracer added the blocked Waiting on an external dependency or upstream change label Mar 29, 2026
@figtracer figtracer force-pushed the gustavo/use-update-account-stateless branch from 58b041a to 3598c68 Compare April 5, 2026 23:49
@figtracer figtracer removed the blocked Waiting on an external dependency or upstream change label Apr 5, 2026
@figtracer figtracer marked this pull request as ready for review April 5, 2026 23:51
@figtracer figtracer merged commit 6656347 into paradigmxyz:main Apr 5, 2026
4 checks passed
@figtracer figtracer deleted the gustavo/use-update-account-stateless branch April 5, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant