Skip to content

Commit

Permalink
fix: fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Oct 30, 2024
1 parent ebd619c commit 3fb7389
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bin/sozo/src/commands/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ async fn print_banner(ws: &Workspace<'_>, starknet: &StarknetOptions) -> Result<
let (provider, rpc_url) = starknet.provider(None)?;

let chain_id = provider.chain_id().await?;
let chain_id =
parse_cairo_short_string(&chain_id).with_context(|| "💀 Cannot parse chain_id as string")?;
let chain_id = parse_cairo_short_string(&chain_id)
.with_context(|| "💀 Cannot parse chain_id as string")?;

let banner = Banner {
profile: ws.current_profile().expect("💀 Scarb profile should be set.").to_string(),
Expand Down
2 changes: 0 additions & 2 deletions crates/dojo/lang/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ dojo-types.workspace = true
indoc.workspace = true
itertools.workspace = true
regex.workspace = true
#scarb.workspace = true
#scarb-ui.workspace = true
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down

0 comments on commit 3fb7389

Please sign in to comment.