feat: introduce FileClient for importing blocks (#1111)

This commit is contained in:
Dan Cline
2023-02-01 02:51:15 -05:00
committed by GitHub
parent 0149bde8fb
commit a588f79023
7 changed files with 244 additions and 41 deletions

View File

@ -26,6 +26,9 @@ tokio-stream = "0.1"
tracing = "0.1.37"
metrics = "0.20.1"
thiserror = { version = "1", optional = true }
reth-rlp = { path = "../../common/rlp", optional = true }
[dev-dependencies]
reth-db = { path = "../../storage/db", features = ["test-utils"] }
reth-interfaces = { path = "../../interfaces", features = ["test-utils"] }
@ -33,3 +36,10 @@ reth-tracing = { path = "../../tracing" }
assert_matches = "1.5.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
reth-rlp = { path = "../../common/rlp" }
thiserror = "1"
tempfile = "3.3"
[features]
test-utils = ["dep:reth-rlp", "dep:thiserror"]