Skip to content

feat: Add TrieDB integration#2

Closed
and-cb wants to merge 1 commit into
v1.9.3-triedbfrom
andrea/v1.9.3-triedb
Closed

feat: Add TrieDB integration#2
and-cb wants to merge 1 commit into
v1.9.3-triedbfrom
andrea/v1.9.3-triedb

Conversation

@and-cb
Copy link
Copy Markdown

@and-cb and-cb commented Dec 5, 2025

No description provided.

@and-cb and-cb changed the title Add TrieDB integration feat: Add TrieDB integration Dec 5, 2025
@github-actions github-actions Bot closed this Jan 2, 2026
@BrianBland BrianBland reopened this Jan 10, 2026
reth-trie-common.workspace = true

# triedb
#triedb = { git = "https://github.com/base/triedb" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This should probably still point at the git repo, possibly with a specific ref.


# triedb
#triedb = { git = "https://github.com/base/triedb" }
triedb = { path = "/home/andrea/src/triedb" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same as above

Comment on lines 3225 to +3226
self.tx.commit()?;
self.triedb_tx.commit()?;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Confirming that committing mdbx first is safer. If we happen to only commit this but not triedb, we should be able to forward-apply any missing account/storage changes from the last block.

Comment thread crates/trie/db/Cargo.toml

# Additional dependencies for backend testing
tempfile.workspace = true
#triedb = { git = "https://github.com/base/triedb" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same as above

Comment thread crates/triedb/Cargo.toml

# External TrieDB
#triedb = { git = "https://github.com/base/triedb" }
triedb = { path = "/home/andrea/src/triedb" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same as above


# triedb
#triedb = { git = "https://github.com/base/triedb" }
triedb = { path = "/home/andrea/src/triedb" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same as above


# triedb
#triedb = { git = "https://github.com/base/triedb" }
triedb = { path = "/home/andrea/src/triedb" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants