Skip to content

Commit 51f1b3b

Browse files
committed
fix(sozo): reword the override of world address from config
1 parent 719691f commit 51f1b3b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

bin/sozo/src/utils.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,8 @@ pub fn get_world_address(
7575

7676
if let Some(wa) = world.address(env)? {
7777
if wa != deterministic_world_address && !world.guest {
78-
ui.warn_block(format!(
79-
"warning: The world address computed from the seed is different from the \
80-
address provided in config:\n - deterministic address: {:#066x}\n - config \
81-
address : {:#066x}\n\nThe address in the config file is preferred, \
82-
consider commenting it out from the config file if you attempt to migrate \
83-
the world with a new seed.\nIf you are upgrading the world, please set your \
84-
current world address in your config file.",
78+
ui.warn(format!(
79+
"Overriding deterministic address `{:#066x}` with config address `{:#066x}`.",
8580
deterministic_world_address, wa
8681
));
8782
}

0 commit comments

Comments
 (0)