From 8f0f4d8d78c966317df1a305b1835702a7d224a5 Mon Sep 17 00:00:00 2001 From: stevencartavia Date: Fri, 17 May 2024 15:00:04 -0600 Subject: [PATCH] fix --- crates/sozo/ops/src/migration/migrate.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/sozo/ops/src/migration/migrate.rs b/crates/sozo/ops/src/migration/migrate.rs index c88d0f8599..f57378d993 100644 --- a/crates/sozo/ops/src/migration/migrate.rs +++ b/crates/sozo/ops/src/migration/migrate.rs @@ -699,9 +699,6 @@ where P: Provider + Sync + Send + 'static, { ui.print("\nšŸ“‹ Migration Strategy\n"); - if let Some(world) = &strategy.world { - ui.print_sub(format!("declare (contract address: {:#x})\n", world.contract_address)); - } if let Some(base) = &strategy.base { ui.print_header("# Base Contract"); @@ -711,6 +708,7 @@ where if let Some(world) = &strategy.world { ui.print_header("# World"); ui.print_sub(format!("declare (class hash: {:#x})\n", world.diff.local_class_hash)); + ui.print_sub(format!("declare (contract address: {:#x})\n", world.contract_address)); } if !&strategy.models.is_empty() { @@ -735,8 +733,6 @@ where for c in &strategy.contracts { let op_name = get_contract_operation_name(provider, c, strategy.world_address).await; ui.print_sub(format!("{op_name} (class hash: {:#x})", c.diff.local_class_hash)); - let contract_address = get_contract_address(c.salt, c.diff.base_class_hash, &[], c.contract_address); - ui.print_sub(format!("{op_name} (contract address: {:#x})", contract_address)); } ui.print(" "); }