Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove unused deps #7151

Merged
merged 2 commits into from Mar 15, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions Cargo.lock

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

12 changes: 1 addition & 11 deletions crates/node-core/Cargo.toml
Expand Up @@ -33,8 +33,6 @@ reth-net-nat.workspace = true
reth-network-api.workspace = true
reth-node-api.workspace = true
reth-tasks.workspace = true
reth-payload-builder.workspace = true
reth-basic-payload-builder.workspace = true
reth-consensus-common.workspace = true
reth-auto-seal-consensus.workspace = true
reth-beacon-consensus.workspace = true
Expand All @@ -43,12 +41,7 @@ reth-revm.workspace = true
reth-stages.workspace = true
reth-prune.workspace = true
reth-blockchain-tree.workspace = true
revm-inspectors.workspace = true
reth-static-file.workspace = true
reth-eth-wire.workspace = true

# `optimism` feature
reth-optimism-payload-builder = { workspace = true, optional = true }

# async
tokio.workspace = true
Expand Down Expand Up @@ -85,7 +78,6 @@ tracing.workspace = true

# crypto
alloy-rlp.workspace = true
alloy-chains.workspace = true
secp256k1 = { workspace = true, features = [
"global-context",
"rand-std",
Expand Down Expand Up @@ -118,14 +110,12 @@ optimism = [
"reth-provider/optimism",
"reth-network/optimism",
"reth-network-api/optimism",
"reth-payload-builder/optimism",
"reth-rpc-types/optimism",
"reth-rpc-types-compat/optimism",
"reth-auto-seal-consensus/optimism",
"reth-consensus-common/optimism",
"reth-blockchain-tree/optimism",
"reth-beacon-consensus/optimism",
"reth-optimism-payload-builder/optimism",
"reth-beacon-consensus/optimism"
]

jemalloc = ["dep:jemalloc-ctl"]
Expand Down
12 changes: 5 additions & 7 deletions crates/node-core/src/args/network_args.rs
Expand Up @@ -81,19 +81,17 @@ pub struct NetworkArgs {
#[arg(long)]
pub max_inbound_peers: Option<usize>,

/// Soft limit for the byte size of a [`PooledTransactions`](reth_eth_wire::PooledTransactions)
/// response on assembling a [`GetPooledTransactions`](reth_eth_wire::GetPooledTransactions)
/// request. Spec'd at 2 MiB.
/// Soft limit for the byte size of a `PooledTransactions` response on assembling a
/// `GetPooledTransactions` request. Spec'd at 2 MiB.
///
/// <https://github.com/ethereum/devp2p/blob/master/caps/eth.md#protocol-messages>.
#[arg(long = "pooled-tx-response-soft-limit", value_name = "BYTES", default_value_t = SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESPONSE, help = "Sets the soft limit for the byte size of pooled transactions response. Specified at 2 MiB by default. This is a spec'd value that should only be set for experimental purposes on a testnet.")]
pub soft_limit_byte_size_pooled_transactions_response: usize,

/// Default soft limit for the byte size of a
/// [`PooledTransactions`](reth_eth_wire::PooledTransactions) response on assembling a
/// [`GetPooledTransactions`](reth_eth_wire::PooledTransactions) request. This defaults to less
/// Default soft limit for the byte size of a `PooledTransactions` response on assembling a
/// `GetPooledTransactions` request. This defaults to less
/// than the [`SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESPONSE`], at 2 MiB, used when
/// assembling a [`PooledTransactions`](reth_eth_wire::PooledTransactions) response. Default
/// assembling a `PooledTransactions` response. Default
/// is 128 KiB.
#[arg(long = "pooled-tx-pack-soft-limit", value_name = "BYTES", default_value_t = DEFAULT_SOFT_LIMIT_BYTE_SIZE_POOLED_TRANSACTIONS_RESP_ON_PACK_GET_POOLED_TRANSACTIONS_REQ)]
pub soft_limit_byte_size_pooled_transactions_response_on_pack_request: usize,
Expand Down
1 change: 1 addition & 0 deletions crates/node-core/src/lib.rs
Expand Up @@ -5,6 +5,7 @@
html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

pub mod args;
Expand Down