We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73becfb commit 00c944bCopy full SHA for 00c944b
crates/script/src/verify.rs
@@ -120,9 +120,14 @@ impl VerifyBundle {
120
warn!("Skipping verification of Vyper contract: {}", artifact.name);
121
}
122
123
+ // Strip artifact profile from contract name when creating contract info.
124
let contract = ContractInfo {
125
path: Some(artifact.source.to_string_lossy().to_string()),
- name: artifact.name.clone(),
126
+ name: artifact
127
+ .name
128
+ .strip_suffix(&format!(".{}", &artifact.profile))
129
+ .unwrap_or_else(|| &artifact.name)
130
+ .to_string(),
131
};
132
133
// We strip the build metadadata information, since it can lead to
0 commit comments