diff --git a/framework/scripts/Cargo.toml b/framework/scripts/Cargo.toml index 7d1aa18367..42fb4ba892 100644 --- a/framework/scripts/Cargo.toml +++ b/framework/scripts/Cargo.toml @@ -40,4 +40,4 @@ clap = { workspace = true } dirs = "5.0.1" [patch.crates-io] -cw-orch-networks = {git = "https://github.com/AbstractSDK/cw-orchestrator", branch = "add/chaininfo_eq_derive" } \ No newline at end of file +cw-orch-networks = { git = "https://github.com/AbstractSDK/cw-orchestrator", branch = "add/chaininfo_eq_derive" } diff --git a/framework/scripts/src/bin/full_deploy.rs b/framework/scripts/src/bin/full_deploy.rs index 147f660852..a9e000ab7e 100644 --- a/framework/scripts/src/bin/full_deploy.rs +++ b/framework/scripts/src/bin/full_deploy.rs @@ -1,5 +1,9 @@ use reqwest::Url; -use std::{fs::{self, File}, net::TcpStream, io::BufReader }; +use std::{ + fs::{self, File}, + io::BufReader, + net::TcpStream, +}; use abstract_core::objects::gov_type::GovernanceDetails; use abstract_interface::Abstract; @@ -101,14 +105,20 @@ async fn ping_grpc(url_str: &str) -> anyhow::Result<()> { } fn write_deployment(status: &DeploymentStatus) -> anyhow::Result<()> { - let path = dirs::home_dir().unwrap().join(".cw-orchestrator").join("chains.json"); + let path = dirs::home_dir() + .unwrap() + .join(".cw-orchestrator") + .join("chains.json"); let status_str = serde_json::to_string_pretty(status)?; fs::write(path, status_str)?; Ok(()) } fn read_deployment() -> anyhow::Result { - let path = dirs::home_dir().unwrap().join(".cw-orchestrator").join("chains.json"); + let path = dirs::home_dir() + .unwrap() + .join(".cw-orchestrator") + .join("chains.json"); let file = File::open(path)?; let reader = BufReader::new(file);