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 1968128 commit 61524ebCopy full SHA for 61524eb
crates/block-explorers/src/contract.rs
@@ -273,8 +273,8 @@ impl Metadata {
273
/// Parses the EVM version.
274
#[cfg(feature = "foundry-compilers")]
275
pub fn evm_version(&self) -> Result<Option<EvmVersion>> {
276
- match self.evm_version.as_str() {
277
- "" | "Default" => {
+ match self.evm_version.to_lowercase().as_str() {
+ "" | "default" => {
278
Ok(EvmVersion::default().normalize_version_solc(&self.compiler_version()?))
279
}
280
_ => {
0 commit comments