Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/zepter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workflows:
# Check that `A` activates the features of `B`.
"propagate-feature",
# These are the features to check:
"--features=std,op,dev,asm-keccak,jemalloc,jemalloc-prof,tracy-allocator,serde-bincode-compat,serde,test-utils,arbitrary,bench,alloy-compat,min-error-logs,min-warn-logs,min-info-logs,min-debug-logs,min-trace-logs,otlp",
"--features=std,op,dev,asm-keccak,jemalloc,jemalloc-prof,tracy-allocator,serde-bincode-compat,serde,test-utils,arbitrary,bench,alloy-compat,min-error-logs,min-warn-logs,min-info-logs,min-debug-logs,min-trace-logs,otlp,js-tracer",
# Do not try to add a new section to `[features]` of `A` only because `B` exposes that feature. There are edge-cases where this is still needed, but we can add them manually.
"--left-side-feature-missing=ignore",
# Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on.
Expand Down
10 changes: 8 additions & 2 deletions bin/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ reth-node-api.workspace = true
reth-node-core.workspace = true
reth-ethereum-payload-builder.workspace = true
reth-ethereum-primitives.workspace = true
reth-node-ethereum = { workspace = true, features = ["js-tracer"] }
reth-node-ethereum.workspace = true
reth-node-builder.workspace = true
reth-node-metrics.workspace = true
reth-consensus.workspace = true
Expand All @@ -67,12 +67,18 @@ backon.workspace = true
tempfile.workspace = true

[features]
default = ["jemalloc", "otlp", "reth-revm/portable"]
default = ["jemalloc", "otlp", "reth-revm/portable", "js-tracer"]

otlp = [
"reth-ethereum-cli/otlp",
"reth-node-core/otlp",
]
js-tracer = [
"reth-node-builder/js-tracer",
"reth-node-ethereum/js-tracer",
"reth-rpc/js-tracer",
"reth-rpc-eth-types/js-tracer",
]

dev = ["reth-ethereum-cli/dev"]

Expand Down
7 changes: 6 additions & 1 deletion crates/ethereum/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ asm-keccak = [
"reth-node-core/asm-keccak",
"revm/asm-keccak",
]
js-tracer = ["reth-node-builder/js-tracer"]
js-tracer = [
"reth-node-builder/js-tracer",
"reth-rpc/js-tracer",
"reth-rpc-eth-api/js-tracer",
"reth-rpc-eth-types/js-tracer",
]
test-utils = [
"reth-node-builder/test-utils",
"reth-chainspec/test-utils",
Expand Down
8 changes: 7 additions & 1 deletion crates/ethereum/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,13 @@ rpc = [
"dep:alloy-rpc-types-engine",
]
tasks = ["dep:reth-tasks"]
js-tracer = ["rpc", "reth-rpc/js-tracer"]
js-tracer = [
"rpc",
"reth-rpc/js-tracer",
"reth-node-builder?/js-tracer",
"reth-node-ethereum?/js-tracer",
"reth-rpc-eth-types?/js-tracer",
]
network = ["dep:reth-network", "tasks", "dep:reth-network-api", "dep:reth-eth-wire"]
provider = ["storage-api", "tasks", "dep:reth-provider", "dep:reth-db", "dep:reth-codecs"]
storage-api = ["dep:reth-storage-api"]
Expand Down
6 changes: 5 additions & 1 deletion crates/node/builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ reth-evm-ethereum = { workspace = true, features = ["test-utils"] }

[features]
default = []
js-tracer = ["reth-rpc/js-tracer"]
js-tracer = [
"reth-rpc/js-tracer",
"reth-node-ethereum/js-tracer",
"reth-rpc-eth-types/js-tracer",
]
test-utils = [
"reth-db/test-utils",
"reth-chain-state/test-utils",
Expand Down
8 changes: 6 additions & 2 deletions crates/optimism/bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude.workspace = true
reth-cli-util.workspace = true
reth-optimism-cli.workspace = true
reth-optimism-rpc.workspace = true
reth-optimism-node = { workspace = true, features = ["js-tracer"] }
reth-optimism-node.workspace = true
reth-optimism-chainspec.workspace = true
reth-optimism-consensus.workspace = true
reth-optimism-evm.workspace = true
Expand All @@ -27,10 +27,14 @@ tracing.workspace = true
workspace = true

[features]
default = ["jemalloc", "otlp", "reth-optimism-evm/portable"]
default = ["jemalloc", "otlp", "reth-optimism-evm/portable", "js-tracer"]

otlp = ["reth-optimism-cli/otlp"]

js-tracer = [
"reth-optimism-node/js-tracer",
]

jemalloc = ["reth-cli-util/jemalloc", "reth-optimism-cli/jemalloc"]
jemalloc-prof = ["reth-cli-util/jemalloc-prof"]
tracy-allocator = ["reth-cli-util/tracy-allocator"]
Expand Down
7 changes: 6 additions & 1 deletion crates/optimism/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@ asm-keccak = [
"reth-node-core/asm-keccak",
"revm/asm-keccak",
]
js-tracer = ["reth-node-builder/js-tracer"]
js-tracer = [
"reth-node-builder/js-tracer",
"reth-optimism-node/js-tracer",
"reth-rpc/js-tracer",
"reth-rpc-eth-types/js-tracer",
]
test-utils = [
"reth-tasks",
"reth-e2e-test-utils",
Expand Down
8 changes: 7 additions & 1 deletion crates/optimism/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,13 @@ rpc = [
"dep:reth-optimism-rpc",
]
tasks = ["dep:reth-tasks"]
js-tracer = ["rpc", "reth-rpc/js-tracer"]
js-tracer = [
"rpc",
"reth-rpc/js-tracer",
"reth-node-builder?/js-tracer",
"reth-optimism-node?/js-tracer",
"reth-rpc-eth-types?/js-tracer",
]
network = ["dep:reth-network", "tasks", "dep:reth-network-api", "dep:reth-eth-wire"]
provider = ["storage-api", "tasks", "dep:reth-provider", "dep:reth-db", "dep:reth-codecs"]
pool = ["dep:reth-transaction-pool"]
Expand Down
6 changes: 5 additions & 1 deletion crates/rpc/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,8 @@ rand.workspace = true
jsonrpsee = { workspace = true, features = ["client"] }

[features]
js-tracer = ["revm-inspectors/js-tracer", "reth-rpc-eth-types/js-tracer"]
js-tracer = [
"revm-inspectors/js-tracer",
"reth-rpc-eth-types/js-tracer",
"reth-rpc-eth-api/js-tracer",
]
Loading