Skip to content

Commit d450b30

Browse files
committed
fix: EvmVersion from_str
1 parent ff2a8d6 commit d450b30

File tree

1 file changed

+2
-2
lines changed
  • crates/artifacts/solc/src

1 file changed

+2
-2
lines changed

crates/artifacts/solc/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,8 @@ impl FromStr for EvmVersion {
957957
fn from_str(s: &str) -> Result<Self, Self::Err> {
958958
match s {
959959
"homestead" => Ok(Self::Homestead),
960-
"tangerineWhistle" => Ok(Self::TangerineWhistle),
961-
"spuriousDragon" => Ok(Self::SpuriousDragon),
960+
"tangerineWhistle" | "tangerinewhistle" => Ok(Self::TangerineWhistle),
961+
"spuriousDragon" | "spuriousdragon" => Ok(Self::SpuriousDragon),
962962
"byzantium" => Ok(Self::Byzantium),
963963
"constantinople" => Ok(Self::Constantinople),
964964
"petersburg" => Ok(Self::Petersburg),

0 commit comments

Comments
 (0)