feat(transaction-pool): chaining & static txs for best transactions trait (#12320)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Seva Zhidkov
2024-11-08 11:45:27 +00:00
committed by GitHub
parent 9f6f63d45a
commit 02d2593b2e
12 changed files with 555 additions and 42 deletions

View File

@ -55,17 +55,23 @@ parking_lot.workspace = true
# rpc
serde_json.workspace = true
# test-utils dependencies
reth = { workspace = true, optional = true }
reth-e2e-test-utils = { workspace = true, optional = true }
alloy-genesis = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
[dev-dependencies]
reth.workspace = true
reth-optimism-node = { workspace = true, features = ["test-utils"] }
reth-db.workspace = true
reth-e2e-test-utils.workspace = true
reth-node-builder = { workspace = true, features = ["test-utils"] }
reth-provider = { workspace = true, features = ["test-utils"] }
reth-revm = { workspace = true, features = ["test-utils"] }
tokio.workspace = true
alloy-primitives.workspace = true
alloy-genesis.workspace = true
op-alloy-consensus.workspace = true
alloy-signer-local.workspace = true
alloy-network.workspace = true
alloy-consensus.workspace = true
futures.workspace = true
[features]
@ -79,15 +85,21 @@ optimism = [
"reth-optimism-rpc/optimism",
"reth-engine-local/optimism",
"reth-optimism-consensus/optimism",
"reth-db/optimism"
"reth-db/optimism",
"reth-optimism-node/optimism"
]
asm-keccak = [
"reth-primitives/asm-keccak",
"reth/asm-keccak",
"alloy-primitives/asm-keccak",
"revm/asm-keccak"
"revm/asm-keccak",
"reth-optimism-node/asm-keccak"
]
test-utils = [
"reth",
"reth-e2e-test-utils",
"alloy-genesis",
"tokio",
"reth-node-builder/test-utils",
"reth-chainspec/test-utils",
"reth-consensus/test-utils",
@ -100,5 +112,6 @@ test-utils = [
"reth-provider/test-utils",
"reth-transaction-pool/test-utils",
"reth-trie-db/test-utils",
"revm/test-utils"
"revm/test-utils",
"reth-optimism-node/test-utils"
]