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:
@ -16,6 +16,7 @@ reth-basic-payload-builder.workspace = true
|
||||
reth-ethereum-payload-builder.workspace = true
|
||||
reth-node-ethereum = { workspace = true, features = ["test-utils"] }
|
||||
reth-tracing.workspace = true
|
||||
reth-trie-db.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
alloy-rpc-types = { workspace = true, features = ["engine"] }
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
@ -70,6 +70,7 @@ use reth_payload_builder::{
|
||||
};
|
||||
use reth_primitives::Withdrawals;
|
||||
use reth_tracing::{RethTracer, Tracer};
|
||||
use reth_trie_db::MerklePatriciaTrie;
|
||||
|
||||
/// A custom payload attributes type.
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
@ -228,6 +229,7 @@ struct MyCustomNode;
|
||||
impl NodeTypes for MyCustomNode {
|
||||
type Primitives = ();
|
||||
type ChainSpec = ChainSpec;
|
||||
type StateCommitment = MerklePatriciaTrie;
|
||||
}
|
||||
|
||||
/// Configure the node types with the custom engine types
|
||||
|
||||
Reference in New Issue
Block a user