Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ltitanb committed Jan 14, 2025
1 parent 471c628 commit 51aed71
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
build = "build.rs"

[dependencies]
# ethereum
Expand Down
1 change: 0 additions & 1 deletion crates/signer/proto
Submodule proto deleted from 4aaf36
3 changes: 2 additions & 1 deletion examples/da_commit/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ async fn main() -> Result<()> {
// Remember to register all your metrics before starting the process
MY_CUSTOM_REGISTRY.register(Box::new(SIG_RECEIVED_COUNTER.clone()))?;
// Spin up a server that exposes the /metrics endpoint to Prometheus
MetricsProvider::load_and_run(Chain::Mainnet, MY_CUSTOM_REGISTRY.clone())?;

match load_commit_module_config::<ExtraConfig>() {
Ok(config) => {
let _guard = initialize_tracing_log(&config.id)?;

MetricsProvider::load_and_run(config.chain, MY_CUSTOM_REGISTRY.clone())?;

info!(
module_id = %config.id,
sleep_secs = config.extra.sleep_secs,
Expand Down

0 comments on commit 51aed71

Please sign in to comment.