refactor: move payload/builder/src/database.rs to revm/src/cached.rs (#12252)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Léa Narzis
2024-11-01 20:55:23 +07:00
committed by GitHub
parent f6bd11c711
commit c1a68f23cf
8 changed files with 147 additions and 130 deletions

View File

@ -13,15 +13,15 @@ workspace = true
[dependencies]
# reth
reth-primitives.workspace = true
reth-primitives = { workspace = true, optional = true }
reth-provider.workspace = true
reth-payload-primitives.workspace = true
reth-ethereum-engine-primitives.workspace = true
reth-chain-state = { workspace = true, optional = true }
# alloy
alloy-primitives = { workspace = true, optional = true }
alloy-rpc-types = { workspace = true, features = ["engine"] }
alloy-primitives.workspace = true
# async
async-trait.workspace = true
@ -37,12 +37,16 @@ metrics.workspace = true
tracing.workspace = true
[dev-dependencies]
reth-primitives.workspace = true
reth-chain-state.workspace = true
alloy-primitives.workspace = true
revm.workspace = true
[features]
test-utils = [
"alloy-primitives",
"reth-chain-state",
"reth-chain-state?/test-utils",
"reth-chain-state/test-utils",
"reth-primitives/test-utils",
"reth-provider/test-utils",
"revm/test-utils"