feat: introduce StateCommitment type (#11842)

This commit is contained in:
frisitano
2024-10-30 16:48:43 +08:00
committed by GitHub
parent 734c78fdfb
commit 129f3ba911
18 changed files with 120 additions and 15 deletions

View File

@ -31,6 +31,7 @@ reth-primitives.workspace = true
reth-provider = { workspace = true, features = ["test-utils"] }
reth-tasks.workspace = true
reth-transaction-pool = { workspace = true, features = ["test-utils"] }
reth-trie-db.workspace = true
## async
futures-util.workspace = true

View File

@ -119,6 +119,7 @@ pub struct TestNode;
impl NodeTypes for TestNode {
type Primitives = ();
type ChainSpec = ChainSpec;
type StateCommitment = reth_trie_db::MerklePatriciaTrie;
}
impl NodeTypesWithEngine for TestNode {