diff --git a/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs b/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs index b047f7dc9..74491249f 100644 --- a/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs +++ b/cmd/soroban-cli/src/commands/contract/deploy/wasm.rs @@ -197,7 +197,7 @@ impl NetworkRunnable for Cmd { } })?); - print.info(format!("Using wasm hash {wasm_hash}").as_str()); + print.infoln(format!("Using wasm hash {wasm_hash}").as_str()); let network = config.get_network()?; let salt: [u8; 32] = match &self.salt { @@ -230,21 +230,21 @@ impl NetworkRunnable for Cmd { )?; if self.fee.build_only { - print.check("Transaction built!"); + print.checkln("Transaction built!"); return Ok(TxnResult::Txn(txn)); } - print.info("Simulating deploy transaction…"); + print.infoln("Simulating deploy transaction…"); let txn = client.simulate_and_assemble_transaction(&txn).await?; let txn = self.fee.apply_to_assembled_txn(txn).transaction().clone(); if self.fee.sim_only { - print.check("Done!"); + print.checkln("Done!"); return Ok(TxnResult::Txn(txn)); } - print.globe("Submitting deploy transaction…"); + print.globeln("Submitting deploy transaction…"); print.log_transaction(&txn, &network, true)?; let get_txn_resp = client @@ -259,10 +259,10 @@ impl NetworkRunnable for Cmd { let contract_id = stellar_strkey::Contract(contract_id.0).to_string(); if let Some(url) = utils::explorer_url_for_contract(&network, &contract_id) { - print.link(url); + print.linkln(url); } - print.check("Deployed!"); + print.checkln("Deployed!"); Ok(TxnResult::Res(contract_id)) } diff --git a/cmd/soroban-cli/src/commands/contract/install.rs b/cmd/soroban-cli/src/commands/contract/install.rs index 8474c9621..98c866271 100644 --- a/cmd/soroban-cli/src/commands/contract/install.rs +++ b/cmd/soroban-cli/src/commands/contract/install.rs @@ -163,7 +163,7 @@ impl NetworkRunnable for Cmd { // Skip reupload if this isn't V0 because V1 extension already // exists. if code.ext.ne(&ContractCodeEntryExt::V0) { - print.info("Skipping install because wasm already installed"); + print.infoln("Skipping install because wasm already installed"); return Ok(TxnResult::Res(hash)); } } @@ -175,7 +175,7 @@ impl NetworkRunnable for Cmd { } } - print.info("Simulating install transaction…"); + print.infoln("Simulating install transaction…"); let txn = client .simulate_and_assemble_transaction(&tx_without_preflight) @@ -186,7 +186,7 @@ impl NetworkRunnable for Cmd { return Ok(TxnResult::Txn(txn)); } - print.globe("Submitting install transaction…"); + print.globeln("Submitting install transaction…"); let txn_resp = client .send_transaction_polling(&self.config.sign_with_local_key(txn).await?)