Skip to content

Commit

Permalink
fix: EvmVersion from_str
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-atreya committed Dec 20, 2024
1 parent ff2a8d6 commit d450b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/artifacts/solc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -957,8 +957,8 @@ impl FromStr for EvmVersion {
fn from_str(s: &str) -> Result<Self, Self::Err> {
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),
Expand Down

0 comments on commit d450b30

Please sign in to comment.