mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: add tracing features to op binary (#11395)
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -5265,6 +5265,7 @@ dependencies = [
|
||||
"reth-optimism-node",
|
||||
"reth-optimism-rpc",
|
||||
"reth-provider",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@ -17,6 +17,7 @@ reth-optimism-rpc.workspace = true
|
||||
reth-optimism-node.workspace = true
|
||||
|
||||
clap = { workspace = true, features = ["derive", "env"] }
|
||||
tracing.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@ -32,6 +33,12 @@ asm-keccak = ["reth-optimism-cli/asm-keccak", "reth-optimism-node/asm-keccak"]
|
||||
|
||||
optimism = ["reth-optimism-cli/optimism", "reth-optimism-node/optimism"]
|
||||
|
||||
min-error-logs = ["tracing/release_max_level_error"]
|
||||
min-warn-logs = ["tracing/release_max_level_warn"]
|
||||
min-info-logs = ["tracing/release_max_level_info"]
|
||||
min-debug-logs = ["tracing/release_max_level_debug"]
|
||||
min-trace-logs = ["tracing/release_max_level_trace"]
|
||||
|
||||
[[bin]]
|
||||
name = "op-reth"
|
||||
path = "src/main.rs"
|
||||
|
||||
@ -10,6 +10,8 @@ use reth_optimism_node::{args::RollupArgs, node::OptimismAddOns, OptimismNode};
|
||||
use reth_optimism_rpc::SequencerClient;
|
||||
use reth_provider::providers::BlockchainProvider2;
|
||||
|
||||
use tracing as _;
|
||||
|
||||
#[global_allocator]
|
||||
static ALLOC: reth_cli_util::allocator::Allocator = reth_cli_util::allocator::new_allocator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user