Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
haider-rs committed Feb 11, 2025
1 parent 416eb09 commit 66c67d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chronicle/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub struct ChronicleArgs {
pub backend: Backend,
/// Chronicle db path.
#[clap(long, default_value = "cached_tx.redb")]
pub tx_db: Backend,
pub tx_db: String,
/// Cctp Sender.
#[clap(long)]
pub cctp_sender: Option<String>,
Expand Down
7 changes: 4 additions & 3 deletions tc-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ impl Tc {
tracing::info!("waiting for chain to start: {err:?}");
sleep_or_abort(Duration::from_secs(10)).await?;
}
let runtime = SubxtClient::with_key(&timechain_url, &env.timechain_mnemonic)
.await
.context("failed to connect to timechain")?;
let runtime =
SubxtClient::with_key(&timechain_url, &env.timechain_mnemonic, "cached_tx.redb")
.await
.context("failed to connect to timechain")?;
Ok::<_, anyhow::Error>(runtime)
});
let mut connectors = HashMap::new();
Expand Down

0 comments on commit 66c67d1

Please sign in to comment.