mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: rename crate era-import to era-utils (#15980)
This commit is contained in:
@@ -25,7 +25,7 @@ reth-downloaders.workspace = true
|
||||
reth-ecies.workspace = true
|
||||
reth-eth-wire.workspace = true
|
||||
reth-era-downloader.workspace = true
|
||||
reth-era-import.workspace = true
|
||||
reth-era-utils.workspace = true
|
||||
reth-etl.workspace = true
|
||||
reth-evm.workspace = true
|
||||
reth-exex.workspace = true
|
||||
|
||||
@@ -35,11 +35,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> ImportEraC
|
||||
let hash_collector = Collector::new(config.stages.etl.file_size, config.stages.etl.dir);
|
||||
let stream = read_dir(self.path)?;
|
||||
|
||||
reth_era_import::import(
|
||||
stream,
|
||||
&provider_factory.provider_rw().unwrap().0,
|
||||
hash_collector,
|
||||
)?;
|
||||
reth_era_utils::import(stream, &provider_factory.provider_rw().unwrap().0, hash_collector)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user