From f05ee740ee3f76071b9d72a3c323a7ebafb52361 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Tue, 3 Sep 2024 12:39:57 -0500 Subject: [PATCH 1/2] hot fix --- main/src/main.rs | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/main/src/main.rs b/main/src/main.rs index 3b2d63f..44c0227 100644 --- a/main/src/main.rs +++ b/main/src/main.rs @@ -332,7 +332,7 @@ impl fmt::Display for DeployConfig { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!( f, - "{} {} {} {} {}", + "{} {} {} {}", self.check_config, self.auth, match self.estimate_gas { @@ -342,11 +342,7 @@ impl fmt::Display for DeployConfig { match self.no_verify { true => "--no-verify".to_string(), false => "".to_string(), - }, - match self.cargo_stylus_version.as_ref() { - Some(version) => format!("--cargo-stylus-version={}", version), - None => "".to_string(), - }, + } ) } } @@ -380,17 +376,13 @@ impl fmt::Display for VerifyConfig { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!( f, - "{} --deployment-tx={} {} {}", + "{} --deployment-tx={} {}", self.common_cfg, self.deployment_tx, match self.no_verify { true => "--no-verify".to_string(), false => "".to_string(), - }, - match self.cargo_stylus_version.as_ref() { - Some(version) => format!("--cargo-stylus-version={}", version), - None => "".to_string(), - }, + } ) } } From 561fe87b2a6adfdd529c3b04d14708e4d7ae1bf9 Mon Sep 17 00:00:00 2001 From: Raul Jordan Date: Tue, 3 Sep 2024 12:55:31 -0500 Subject: [PATCH 2/2] verify --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8cce4a2..3414b5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1011,7 +1011,7 @@ dependencies = [ [[package]] name = "cargo-stylus" -version = "0.5.2" +version = "0.5.3" dependencies = [ "alloy-contract", "alloy-ethers-typecast", @@ -1053,7 +1053,7 @@ dependencies = [ [[package]] name = "cargo-stylus-example" -version = "0.5.2" +version = "0.5.3" dependencies = [ "clap", ] diff --git a/Cargo.toml b/Cargo.toml index c12318e..4c9439b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.package] authors = ["Offchain Labs"] -version = "0.5.2" +version = "0.5.3" edition = "2021" homepage = "https://arbitrum.io" license = "MIT OR Apache-2.0"