chore(downloader): replace database with header provider (#5472)

This commit is contained in:
Roman Krasiuk
2023-11-18 00:16:19 -08:00
committed by GitHub
parent 6ded64355e
commit d05dda72dd
13 changed files with 123 additions and 103 deletions

View File

@ -12,8 +12,8 @@ description = "Implementations of various block downloaders"
# reth
reth-interfaces.workspace = true
reth-primitives.workspace = true
reth-db.workspace = true
reth-tasks.workspace = true
reth-provider.workspace = true
# async
futures.workspace = true
@ -33,6 +33,7 @@ rayon.workspace = true
thiserror.workspace = true
# optional deps for the test-utils feature
reth-db = { workspace = true, optional = true }
alloy-rlp = { workspace = true, optional = true }
tempfile = { workspace = true, optional = true }
itertools = { workspace = true, optional = true }
@ -50,4 +51,4 @@ itertools.workspace = true
tempfile.workspace = true
[features]
test-utils = ["dep:alloy-rlp", "dep:tempfile", "dep:itertools", "reth-interfaces/test-utils"]
test-utils = ["dep:alloy-rlp", "dep:tempfile", "dep:itertools", "reth-db/test-utils", "reth-interfaces/test-utils"]