refactor: remove StateCommitment trait (#17812)

This commit is contained in:
robinsdan
2025-08-18 21:53:53 +08:00
committed by GitHub
parent e617dd30c9
commit 29e4b20588
36 changed files with 111 additions and 345 deletions

View File

@@ -60,7 +60,6 @@ use reth_ethereum::{
use reth_ethereum_payload_builder::{EthereumBuilderConfig, EthereumExecutionPayloadValidator};
use reth_payload_builder::{EthBuiltPayload, EthPayloadBuilderAttributes, PayloadBuilderError};
use reth_tracing::{RethTracer, Tracer};
use reth_trie_db::MerklePatriciaTrie;
use serde::{Deserialize, Serialize};
use std::{convert::Infallible, sync::Arc};
use thiserror::Error;
@@ -269,7 +268,6 @@ struct MyCustomNode;
impl NodeTypes for MyCustomNode {
type Primitives = EthPrimitives;
type ChainSpec = ChainSpec;
type StateCommitment = MerklePatriciaTrie;
type Storage = EthStorage;
type Payload = CustomEngineTypes;
}