Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion crates/op-rbuilder/src/launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use crate::{
revert_protection::{EthApiExtServer, RevertProtectionExt},
tx::FBPooledTransaction,
};
use clap_builder::{CommandFactory, FromArgMatches};
use core::fmt::Debug;
use moka::future::Cache;
use reth::builder::{NodeBuilder, WithLaunchContext};
Expand All @@ -29,7 +30,10 @@ use reth_transaction_pool::TransactionPool;
use std::{marker::PhantomData, sync::Arc};

pub fn launch() -> Result<()> {
let cli = Cli::parsed();
// Ignore unrecognized flags
let arg_matches = Cli::command().ignore_errors(true).get_matches();
let cli = Cli::from_arg_matches(&arg_matches).map_err(|e| e.exit())?;

let mode = cli.builder_mode();

#[cfg(feature = "telemetry")]
Expand Down
Loading