Skip to content

Commit

Permalink
[ISSUES#] 2739 provider health check for sozo fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
847850277 committed Dec 3, 2024
1 parent 9d757f1 commit 727017d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions bin/sozo/src/commands/migrate.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use crate::commands::LOG_TARGET;
use std::sync::Arc;

use anyhow::{anyhow, Context, Result};
use clap::Args;
use colored::*;
Expand All @@ -12,7 +13,6 @@ use sozo_ops::migration_ui::MigrationUi;
use sozo_scarbext::WorkspaceExt;
use starknet::core::utils::parse_cairo_short_string;
use starknet::providers::Provider;
use std::sync::Arc;
use tabled::settings::Style;
use tabled::{Table, Tabled};
use tracing::{error, trace};
Expand All @@ -22,6 +22,7 @@ use super::options::ipfs::IpfsOptions;
use super::options::starknet::StarknetOptions;
use super::options::transaction::TransactionOptions;
use super::options::world::WorldOptions;
use crate::commands::LOG_TARGET;
use crate::utils;

#[derive(Debug, Clone, Args)]
Expand Down
2 changes: 1 addition & 1 deletion bin/sozo/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::io::{self, Write};
use std::str::FromStr;
use std::sync::Arc;

use crate::commands::LOG_TARGET;
use anyhow::{anyhow, Context, Result};
use camino::Utf8PathBuf;
use colored::*;
Expand All @@ -27,6 +26,7 @@ use tracing::{error, trace};
use crate::commands::options::account::{AccountOptions, SozoAccount};
use crate::commands::options::starknet::StarknetOptions;
use crate::commands::options::world::WorldOptions;
use crate::commands::LOG_TARGET;

/// Computes the world address based on the provided options.
pub fn get_world_address(
Expand Down

0 comments on commit 727017d

Please sign in to comment.