Drop unused EthSpec generic from Stores (#9281)

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
Lion - dapplion
2026-05-21 02:35:35 -06:00
committed by GitHub
parent a9637c1650
commit 1caaa10fa8
31 changed files with 141 additions and 183 deletions

View File

@@ -802,7 +802,7 @@ mod test {
fn get_store_with_spec<E: EthSpec>(
db_path: &TempDir,
spec: Arc<ChainSpec>,
) -> Arc<HotColdDB<E, BeaconNodeBackend<E>, BeaconNodeBackend<E>>> {
) -> Arc<HotColdDB<E, BeaconNodeBackend, BeaconNodeBackend>> {
let hot_path = db_path.path().join("hot_db");
let cold_path = db_path.path().join("cold_db");
let blobs_path = db_path.path().join("blobs_db");
@@ -860,8 +860,8 @@ mod test {
)
where
E: EthSpec,
Hot: ItemStore<E>,
Cold: ItemStore<E>,
Hot: ItemStore,
Cold: ItemStore,
{
let chain = &harness.chain;
let head = chain.head_snapshot();
@@ -946,8 +946,8 @@ mod test {
where
E: EthSpec,
T: BeaconChainTypes<
HotStore = BeaconNodeBackend<E>,
ColdStore = BeaconNodeBackend<E>,
HotStore = BeaconNodeBackend,
ColdStore = BeaconNodeBackend,
EthSpec = E,
>,
{