diff --git a/crates/meroctl/src/cli/app/install.rs b/crates/meroctl/src/cli/app/install.rs index 8d485c0e2..a124a56cc 100644 --- a/crates/meroctl/src/cli/app/install.rs +++ b/crates/meroctl/src/cli/app/install.rs @@ -37,10 +37,9 @@ impl Report for InstallApplicationResponse { impl InstallCommand { pub async fn run(self, environment: &Environment) -> Result<()> { - drop( + let _ignored = InstallCommand::install_app(self.path, self.hash, self.metadata, self.url, environment) - .await, - ); + .await; Ok(()) } diff --git a/crates/meroctl/src/cli/bootstrap/start.rs b/crates/meroctl/src/cli/bootstrap/start.rs index eb472e0a2..f35975a88 100644 --- a/crates/meroctl/src/cli/bootstrap/start.rs +++ b/crates/meroctl/src/cli/bootstrap/start.rs @@ -128,20 +128,19 @@ impl StartBootstrapCommand { if demo_app { println!( - "Application is available at https://calimero-network.github.io/core-app-template/" + "Connect to the node from https://calimero-network.github.io/core-app-template/" ); - println!("Open it in a separate window for each node."); + println!("Open application in separate windows to use it with 2 different nodes."); + println!("Application setup screen requires application id and node url."); + println!("Application id is {:?} ", application_id.to_string(),); + println!( - "Application id for node {:?} is {:?} and url is http://localhost:{}", - node1_environment.args.node_name, - application_id.to_string(), - node1_server_port + "Node {:?} url is http://localhost:{}", + node1_environment.args.node_name, node1_server_port ); println!( - "Application id for node {:?} is {:?} and url is http://localhost:{}", - node1_environment.args.node_name, - application_id.to_string(), - node2_server_port + "Node {:?} url is http://localhost:{}", + node1_environment.args.node_name, node2_server_port ); } println!("************************************************"); @@ -293,12 +292,14 @@ impl StartBootstrapCommand { let multiaddr = fetch_multiaddr(&config)?; let client = Client::new(); - let app_hash = Some(Hash::new("hash".as_bytes())); - let app_metadata = Some("".to_owned()); - let url = Some("".to_owned()); - - let application_id = - InstallCommand::install_app(app_path, app_hash, app_metadata, url, environment).await?; + let application_id = InstallCommand::install_app( + app_path, + Some(Hash::new("hash".as_bytes())), + Some("".to_owned()), + Some("".to_owned()), + environment, + ) + .await?; let (context_id, public_key) = create_context( environment,