Skip to content
Closed
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
25 changes: 25 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ bytes = "1.10.1"
criterion = { version = "0.5", features = ["html_reports"] }
cb-cli = { path = "crates/cli" }
cb-common = { path = "crates/common" }
cb-km = { path = "crates/km" }
cb-metrics = { path = "crates/metrics" }
cb-pbs = { path = "crates/pbs" }
cb-signer = { path = "crates/signer" }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Commit-Boost is a modular sidecar that allows Ethereum validators to opt-in to d
- Support for hard-forks and new protocol requirements

## Get started
- [Node operators](https://commit-boost.github.io/commit-boost-client/category/get-started)
- [Node operators](https://commit-boost.github.io/commit-boost-client/category/get-started). From the Gloas fork, a validator key gets no bids through Commit-Boost until its builder config points at Commit-Boost, which [`commit-boost builder-config`](https://commit-boost.github.io/commit-boost-client/get_started/epbs#builder-config-command) writes
- [Developers](https://commit-boost.github.io/commit-boost-client/category/developing). Check out also the [examples](/examples)

## Audit
Expand Down
1 change: 1 addition & 0 deletions benches/pbs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ fn get_mock_validator(bench: BenchConfig) -> RelayClient {
target_first_request_ms: None,
frequency_get_header_ms: None,
validator_registration_batch_size: None,
max_execution_payment_gwei: None,
};

RelayClient::new(config).unwrap()
Expand Down
3 changes: 3 additions & 0 deletions bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ version.workspace = true
[dependencies]
cb-cli.workspace = true
cb-common.workspace = true
cb-km.workspace = true
cb-metrics.workspace = true
cb-pbs.workspace = true
cb-signer.workspace = true
Expand All @@ -20,7 +21,9 @@ tree_hash_derive.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
axum.workspace = true
predicates.workspace = true
serde_json.workspace = true
serde_yaml.workspace = true
tempfile.workspace = true

Expand Down
13 changes: 8 additions & 5 deletions bin/commit-boost.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::path::PathBuf;
use std::{path::PathBuf, process::ExitCode};

use cb_cli::docker_init::handle_docker_init;
use cb_common::{
Expand Down Expand Up @@ -42,12 +42,14 @@ enum Commands {
#[arg(short, long("output"), default_value = "./")]
output_path: PathBuf,
},

/// Print or write each validator key's ePBS builder config, for its
/// validator client's keymanager API
BuilderConfig(cb_km::cli::BuilderConfigArgs),
}

#[tokio::main]
async fn main() -> Result<()> {
// Parse the CLI arguments (currently only used for version info, more can be
// added later)
async fn main() -> Result<ExitCode> {
let cli = Cli::parse();

color_eyre::install()?;
Expand All @@ -56,9 +58,10 @@ async fn main() -> Result<()> {
Commands::Pbs => run_pbs_service().await?,
Commands::Signer => run_signer_service().await?,
Commands::Init { config_path, output_path } => run_init(config_path, output_path).await?,
Commands::BuilderConfig(args) => return Ok(cb_km::cli::run(args).await),
}

Ok(())
Ok(ExitCode::SUCCESS)
}

/// Run the PBS service
Expand Down
Loading
Loading