Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

feat(mpt): Refactor TrieNode#172

Merged
refcell merged 1 commit intomainfrom
cl/trie-node-refactor
May 7, 2024
Merged

feat(mpt): Refactor TrieNode#172
refcell merged 1 commit intomainfrom
cl/trie-node-refactor

Conversation

@clabby
Copy link
Contributor

@clabby clabby commented May 5, 2024

Overview

Refactors the TrieNode type to not contain the intermediate NodeElement, but rather be recursive upon itself. This allows us to create openings on a root TrieNode within the cache database and cache all opened nodes throughout the execution of each block.

@clabby clabby self-assigned this May 5, 2024
Copy link
Contributor Author

clabby commented May 5, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on Graphite Graphite

@clabby clabby added K-feature Kind: feature A-mpt labels May 5, 2024
@clabby clabby force-pushed the cl/trie-node-refactor branch from 48d4636 to 90d249f Compare May 5, 2024 00:05
@clabby clabby requested a review from refcell May 5, 2024 00:12
@clabby clabby force-pushed the cl/trie-node-refactor branch from 90d249f to 0321e2f Compare May 5, 2024 05:07
Refactors the `TrieNode` type to not contain the intermediate
`NodeElement`, but rather be recursive upon itself. This allows us to
create openings on a root `TrieNode` within the cache database and cache
all opened nodes throughout the execution of each block.
@clabby clabby force-pushed the cl/trie-node-refactor branch from 0321e2f to e2977d8 Compare May 5, 2024 05:07
@refcell refcell added this pull request to the merge queue May 7, 2024
Merged via the queue into main with commit e07ccdf May 7, 2024
@github-actions github-actions bot mentioned this pull request May 7, 2024
This was referenced May 29, 2024
This was referenced Jun 6, 2024
This was referenced Jun 16, 2024
@clabby clabby deleted the cl/trie-node-refactor branch July 2, 2024 03:41
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Dec 10, 2025
Refactors the `TrieNode` type to not contain the intermediate
`NodeElement`, but rather be recursive upon itself. This allows us to
create openings on a root `TrieNode` within the cache database and cache
all opened nodes throughout the execution of each block.
theochap pushed a commit to ethereum-optimism/optimism that referenced this pull request Jan 14, 2026
Refactors the `TrieNode` type to not contain the intermediate
`NodeElement`, but rather be recursive upon itself. This allows us to
create openings on a root `TrieNode` within the cache database and cache
all opened nodes throughout the execution of each block.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

K-feature Kind: feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants