mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: rm unused kzg settings fn (#10796)
This commit is contained in:
@ -17,7 +17,7 @@ use std::{fs, path::Path};
|
|||||||
|
|
||||||
use alloy_primitives::{BlockNumber, B256};
|
use alloy_primitives::{BlockNumber, B256};
|
||||||
use reth_node_types::NodeTypesWithDB;
|
use reth_node_types::NodeTypesWithDB;
|
||||||
use reth_primitives::{revm_primitives::EnvKzgSettings, BlockHashOrNumber, Head, SealedHeader};
|
use reth_primitives::{BlockHashOrNumber, Head, SealedHeader};
|
||||||
use reth_provider::{BlockHashReader, HeaderProvider, ProviderFactory, StageCheckpointReader};
|
use reth_provider::{BlockHashReader, HeaderProvider, ProviderFactory, StageCheckpointReader};
|
||||||
use reth_stages_types::StageId;
|
use reth_stages_types::StageId;
|
||||||
use reth_storage_errors::provider::ProviderResult;
|
use reth_storage_errors::provider::ProviderResult;
|
||||||
@ -260,11 +260,6 @@ impl NodeConfig {
|
|||||||
Ok(max_block)
|
Ok(max_block)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Loads '`EnvKzgSettings::Default`'
|
|
||||||
pub const fn kzg_settings(&self) -> eyre::Result<EnvKzgSettings> {
|
|
||||||
Ok(EnvKzgSettings::Default)
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Fetches the head block from the database.
|
/// Fetches the head block from the database.
|
||||||
///
|
///
|
||||||
/// If the database is empty, returns the genesis block.
|
/// If the database is empty, returns the genesis block.
|
||||||
|
|||||||
Reference in New Issue
Block a user