mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
Drop unused EthSpec generic from Stores (#9281)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
@@ -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,
|
||||
>,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user