chore: rm unused kzg settings fn (#10796)

This commit is contained in:
Matthias Seitz
2024-09-10 01:59:06 +02:00
committed by GitHub
parent 94e6939e81
commit 9b7e69274a

View File

@ -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.