Skip to content

Commit

Permalink
chore: rm unused dependencies from optimism crates (#14396)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <[email protected]>
  • Loading branch information
cakevm and mattsse authored Feb 11, 2025
1 parent ba8cec3 commit 63bec10
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 22 deletions.
10 changes: 0 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions crates/optimism/bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ repository.workspace = true
exclude.workspace = true

[dependencies]
reth-node-builder = { workspace = true, features = ["js-tracer"] }
reth-cli-util.workspace = true
reth-optimism-cli.workspace = true
reth-provider.workspace = true
reth-optimism-rpc.workspace = true
reth-optimism-node.workspace = true
reth-optimism-node = { workspace = true, features = ["js-tracer"] }
reth-optimism-chainspec.workspace = true
reth-optimism-consensus.workspace = true
reth-optimism-evm.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/optimism/evm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ reth-primitives.workspace = true
reth-primitives-traits.workspace = true
reth-execution-errors.workspace = true
reth-execution-types.workspace = true
reth-prune-types.workspace = true
reth-consensus.workspace = true
reth-consensus-common.workspace = true

Expand Down
7 changes: 0 additions & 7 deletions crates/optimism/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ reth-primitives-traits.workspace = true
reth-payload-builder.workspace = true
reth-payload-util.workspace = true
reth-payload-validator.workspace = true
reth-basic-payload-builder.workspace = true
reth-consensus.workspace = true
reth-node-api.workspace = true
reth-node-builder.workspace = true
Expand All @@ -32,7 +31,6 @@ reth-evm.workspace = true
reth-revm = { workspace = true, features = ["std"] }
reth-trie-db.workspace = true
reth-rpc-server-types.workspace = true
reth-rpc-types-compat.workspace = true
reth-rpc-eth-types.workspace = true
reth-tasks = { workspace = true, optional = true }

Expand All @@ -54,17 +52,13 @@ alloy-eips.workspace = true
alloy-primitives.workspace = true
op-alloy-consensus.workspace = true
op-alloy-rpc-types-engine.workspace = true
op-alloy-flz.workspace = true
alloy-rpc-types-engine.workspace = true
alloy-rpc-types-eth.workspace = true
alloy-consensus.workspace = true

# misc
clap.workspace = true
derive_more.workspace = true
serde.workspace = true
eyre.workspace = true
parking_lot.workspace = true

# rpc
serde_json.workspace = true
Expand All @@ -85,7 +79,6 @@ reth-tasks.workspace = true

alloy-primitives.workspace = true
op-alloy-consensus.workspace = true
alloy-signer-local.workspace = true
alloy-network.workspace = true
alloy-consensus.workspace = true
futures.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc/rpc-eth-types/src/error/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub enum EthApiError {
/// This can happen if bytecode provided in an
/// [`AccountOverride`](alloy_rpc_types_eth::state::AccountOverride) is malformed, e.g. invalid
/// 7702 bytecode.
#[error("Invalide bytecode: {0}")]
#[error("Invalid bytecode: {0}")]
InvalidBytecode(String),
/// Evm precompile error
#[error("Revm precompile error: {0}")]
Expand Down

0 comments on commit 63bec10

Please sign in to comment.