This commit is contained in:
Emilia Hane 2023-01-18 09:04:44 +01:00
parent 7f91dd803c
commit f8c3e7fc91
No known key found for this signature in database
GPG Key ID: E73394F9C09206FA

View File

@ -164,7 +164,7 @@ pub fn display_db_version<E: EthSpec>(
HotColdDB::<E, LevelDB<E>, LevelDB<E>>::open(
&hot_path,
&cold_path,
&blobs_path,
blobs_path,
|_, from, _| {
version = from;
Ok(())
@ -221,7 +221,7 @@ pub fn inspect_db<E: EthSpec>(
let db = HotColdDB::<E, LevelDB<E>, LevelDB<E>>::open(
&hot_path,
&cold_path,
&blobs_path,
blobs_path,
|_, _, _| Ok(()),
client_config.store,
spec,
@ -279,7 +279,7 @@ pub fn migrate_db<E: EthSpec>(
let db = HotColdDB::<E, LevelDB<E>, LevelDB<E>>::open(
&hot_path,
&cold_path,
&blobs_path,
blobs_path,
|_, db_initial_version, _| {
from = db_initial_version;
Ok(())
@ -319,7 +319,7 @@ pub fn prune_payloads<E: EthSpec>(
let db = HotColdDB::<E, LevelDB<E>, LevelDB<E>>::open(
&hot_path,
&cold_path,
&blobs_path,
blobs_path,
|_, _, _| Ok(()),
client_config.store,
spec.clone(),