Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bin/pbs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use cb_common::{
utils::{initialize_pbs_tracing_log, wait_for_signal},
};
use cb_pbs::{DefaultBuilderApi, PbsService, PbsState};
use clap::Parser;
use eyre::Result;
use tracing::{error, info};

Expand All @@ -16,6 +17,8 @@ async fn main() -> Result<()> {
}
let _guard = initialize_pbs_tracing_log();

let _args = cb_cli::PbsArgs::parse();

let pbs_config = load_pbs_config().await?;

PbsService::init_metrics(pbs_config.chain)?;
Expand Down
3 changes: 3 additions & 0 deletions bin/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use cb_common::{
utils::{initialize_tracing_log, wait_for_signal},
};
use cb_signer::service::SigningService;
use clap::Parser;
use eyre::Result;
use tracing::{error, info};

Expand All @@ -16,6 +17,8 @@ async fn main() -> Result<()> {
}
let _guard = initialize_tracing_log(SIGNER_MODULE_NAME);

let _args = cb_cli::SignerArgs::parse();

let config = StartSignerConfig::load_from_env()?;
let server = SigningService::run(config);

Expand Down
8 changes: 8 additions & 0 deletions crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,11 @@ impl Args {
}

const LONG_ABOUT: &str = "Commit-Boost allows Ethereum validators to safely run MEV-Boost and community-built commitment protocols";

#[derive(Parser, Debug)]
#[command(version, about, long_about = LONG_ABOUT, name = "commit-boost-pbs")]
pub struct PbsArgs;

#[derive(Parser, Debug)]
#[command(version, about, long_about = LONG_ABOUT, name = "commit-boost-signer")]
pub struct SignerArgs;