mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: introduce StateCommitment type (#11842)
This commit is contained in:
@ -31,6 +31,7 @@ reth-node-api.workspace = true
|
||||
reth-chainspec.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-revm = { workspace = true, features = ["std"] }
|
||||
reth-trie-db.workspace = true
|
||||
|
||||
# revm with required ethereum features
|
||||
revm = { workspace = true, features = ["secp256k1", "blst", "c-kzg"] }
|
||||
@ -72,6 +73,7 @@ test-utils = [
|
||||
"reth-db/test-utils",
|
||||
"reth-provider/test-utils",
|
||||
"reth-transaction-pool/test-utils",
|
||||
"reth-trie-db/test-utils",
|
||||
"revm/test-utils",
|
||||
"reth-evm/test-utils"
|
||||
]
|
||||
|
||||
@ -34,6 +34,7 @@ use reth_transaction_pool::{
|
||||
blobstore::DiskFileBlobStore, EthTransactionPool, TransactionPool,
|
||||
TransactionValidationTaskExecutor,
|
||||
};
|
||||
use reth_trie_db::MerklePatriciaTrie;
|
||||
|
||||
use crate::{EthEngineTypes, EthEvmConfig};
|
||||
|
||||
@ -81,6 +82,7 @@ impl EthereumNode {
|
||||
impl NodeTypes for EthereumNode {
|
||||
type Primitives = EthPrimitives;
|
||||
type ChainSpec = ChainSpec;
|
||||
type StateCommitment = MerklePatriciaTrie;
|
||||
}
|
||||
|
||||
impl NodeTypesWithEngine for EthereumNode {
|
||||
|
||||
Reference in New Issue
Block a user