From d450b30f3211282c17f0e1a2a57b4bc29f21aac1 Mon Sep 17 00:00:00 2001 From: Yash Atreya <44857776+yash-atreya@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:07:42 +0200 Subject: [PATCH] fix: EvmVersion `from_str` --- crates/artifacts/solc/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/artifacts/solc/src/lib.rs b/crates/artifacts/solc/src/lib.rs index 6437181d..c74cac4d 100644 --- a/crates/artifacts/solc/src/lib.rs +++ b/crates/artifacts/solc/src/lib.rs @@ -957,8 +957,8 @@ impl FromStr for EvmVersion { fn from_str(s: &str) -> Result { match s { "homestead" => Ok(Self::Homestead), - "tangerineWhistle" => Ok(Self::TangerineWhistle), - "spuriousDragon" => Ok(Self::SpuriousDragon), + "tangerineWhistle" | "tangerinewhistle" => Ok(Self::TangerineWhistle), + "spuriousDragon" | "spuriousdragon" => Ok(Self::SpuriousDragon), "byzantium" => Ok(Self::Byzantium), "constantinople" => Ok(Self::Constantinople), "petersburg" => Ok(Self::Petersburg),