Skip to content

Commit

Permalink
chore: rm unused optimism feature from compat (paradigmxyz#11560)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored and ebo committed Oct 14, 2024
1 parent 11b09ad commit e2e9f7d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions crates/node/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ tempfile.workspace = true

[features]
optimism = [
"reth-primitives/optimism",
"reth-rpc-types-compat/optimism",
"reth-primitives/optimism"
]
# Features for vergen to generate correct env vars
jemalloc = []
Expand Down
1 change: 0 additions & 1 deletion crates/optimism/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ optimism = [
"reth-chainspec/optimism",
"reth-primitives/optimism",
"reth-provider/optimism",
"reth-rpc-types-compat/optimism",
"reth-optimism-evm/optimism",
"reth-optimism-payload-builder/optimism",
"reth-beacon-consensus/optimism",
Expand Down
1 change: 0 additions & 1 deletion crates/optimism/payload/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ optimism = [
"reth-chainspec/optimism",
"reth-primitives/optimism",
"reth-provider/optimism",
"reth-rpc-types-compat/optimism",
"reth-optimism-evm/optimism",
"reth-revm/optimism",
]
5 changes: 1 addition & 4 deletions crates/rpc/rpc-types-compat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,4 @@ alloy-serde.workspace = true
alloy-rpc-types-engine.workspace = true

[dev-dependencies]
serde_json.workspace = true

[features]
optimism = ["reth-primitives/optimism"]
serde_json.workspace = true
1 change: 0 additions & 1 deletion crates/rpc/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ jsonrpsee = { workspace = true, features = ["client"] }
js-tracer = ["revm-inspectors/js-tracer", "reth-rpc-eth-types/js-tracer"]
optimism = [
"reth-primitives/optimism",
"reth-rpc-types-compat/optimism",
"reth-provider/optimism",
"reth-revm/optimism",
]

0 comments on commit e2e9f7d

Please sign in to comment.