We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7350909 commit 56bd2beCopy full SHA for 56bd2be
timeboost-contract/src/binaries/deploy.rs
@@ -16,9 +16,10 @@ use alloy::{primitives::Address, providers::WalletProvider};
16
use anyhow::{Context, Result};
17
use clap::Parser;
18
use serde::Serialize;
19
-use std::{fs, path::PathBuf};
+use std::path::PathBuf;
20
use timeboost_contract::provider::build_provider;
21
use timeboost_utils::types::logging;
22
+use tokio::fs;
23
use tracing::info;
24
use url::Url;
25
@@ -100,7 +101,7 @@ async fn main() -> Result<()> {
100
101
let toml = toml::to_string_pretty(&cfg)?;
102
103
if let Some(out) = &args.output {
- fs::write(out, &toml)?;
104
+ fs::write(out, &toml).await?;
105
info!(file=?out, "Config written to file");
106
} else {
107
println!("{toml}");
0 commit comments