Skip to content

Commit

Permalink
Hotfix for Reproducible Verification (#94)
Browse files Browse the repository at this point in the history
* hot fix

* verify
  • Loading branch information
rauljordan authored Sep 3, 2024
1 parent c6c92d6 commit 752612b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
16 changes: 4 additions & 12 deletions main/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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(),
},
}
)
}
}
Expand Down Expand Up @@ -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(),
},
}
)
}
}
Expand Down

0 comments on commit 752612b

Please sign in to comment.