mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
added SealedHeaderFor alias to validate.rs and without_evm.rs (#14103)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -48,6 +48,7 @@ reth-static-file.workspace = true
|
||||
reth-trie = { workspace = true, features = ["metrics"] }
|
||||
reth-trie-db = { workspace = true, features = ["metrics"] }
|
||||
reth-trie-common = { workspace = true, optional = true }
|
||||
reth-primitives-traits.workspace = true
|
||||
|
||||
# ethereum
|
||||
alloy-eips.workspace = true
|
||||
@ -109,4 +110,5 @@ arbitrary = [
|
||||
"reth-stages-types?/arbitrary",
|
||||
"reth-trie-common?/arbitrary",
|
||||
"alloy-consensus/arbitrary",
|
||||
"reth-primitives-traits/arbitrary",
|
||||
]
|
||||
|
||||
@ -4,6 +4,7 @@ use alloy_rlp::Decodable;
|
||||
use reth_codecs::Compact;
|
||||
use reth_node_builder::NodePrimitives;
|
||||
use reth_primitives::{SealedBlock, SealedHeader, StaticFileSegment};
|
||||
use reth_primitives_traits::SealedHeaderFor;
|
||||
use reth_provider::{
|
||||
providers::StaticFileProvider, BlockWriter, StageCheckpointWriter, StaticFileProviderFactory,
|
||||
StaticFileWriter, StorageLocation,
|
||||
@ -59,7 +60,7 @@ where
|
||||
/// height.
|
||||
fn append_first_block<Provider>(
|
||||
provider_rw: &Provider,
|
||||
header: &SealedHeader<<Provider::Primitives as NodePrimitives>::BlockHeader>,
|
||||
header: &SealedHeaderFor<Provider::Primitives>,
|
||||
total_difficulty: U256,
|
||||
) -> Result<(), eyre::Error>
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user