mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove optimism feature (#14545)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -13,8 +13,8 @@ workspace = true
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-chainspec.workspace = true
|
||||
reth-db.workspace = true
|
||||
reth-engine-local.workspace = true
|
||||
reth-db = { workspace = true, features = ["op"] }
|
||||
reth-engine-local = { workspace = true, features = ["op"] }
|
||||
reth-primitives.workspace = true
|
||||
reth-primitives-traits.workspace = true
|
||||
reth-payload-builder.workspace = true
|
||||
@ -43,7 +43,7 @@ reth-optimism-txpool.workspace = true
|
||||
reth-optimism-chainspec.workspace = true
|
||||
reth-optimism-consensus.workspace = true
|
||||
reth-optimism-forks.workspace = true
|
||||
reth-optimism-primitives = { workspace = true, features = ["serde", "serde-bincode-compat"] }
|
||||
reth-optimism-primitives = { workspace = true, features = ["serde", "serde-bincode-compat", "reth-codec"] }
|
||||
|
||||
# revm with required optimism features
|
||||
revm = { workspace = true, features = ["secp256k1", "blst", "c-kzg"] }
|
||||
@ -87,19 +87,6 @@ futures.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["reth-codec"]
|
||||
optimism = [
|
||||
"reth-provider/optimism",
|
||||
"reth-optimism-evm/optimism",
|
||||
"reth-optimism-payload-builder/optimism",
|
||||
"reth-optimism-rpc/optimism",
|
||||
"reth-engine-local/op",
|
||||
"reth-optimism-consensus/optimism",
|
||||
"reth-db/optimism",
|
||||
"reth-optimism-node/optimism",
|
||||
"reth-node-core/optimism",
|
||||
"reth-optimism-primitives/optimism",
|
||||
"reth-optimism-txpool/optimism",
|
||||
]
|
||||
asm-keccak = [
|
||||
"reth-primitives/asm-keccak",
|
||||
"alloy-primitives/asm-keccak",
|
||||
|
||||
@ -9,8 +9,6 @@
|
||||
issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
|
||||
)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
// The `optimism` feature must be enabled to use this crate.
|
||||
#![cfg(feature = "optimism")]
|
||||
|
||||
/// CLI argument parsing for the optimism node.
|
||||
pub mod args;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
#![allow(missing_docs)]
|
||||
|
||||
#[cfg(feature = "optimism")]
|
||||
mod p2p;
|
||||
|
||||
const fn main() {}
|
||||
|
||||
@ -1,9 +1,7 @@
|
||||
#![allow(missing_docs)]
|
||||
|
||||
#[cfg(feature = "optimism")]
|
||||
mod builder;
|
||||
|
||||
#[cfg(feature = "optimism")]
|
||||
mod priority;
|
||||
|
||||
const fn main() {}
|
||||
|
||||
Reference in New Issue
Block a user