support solc v0.8.36 (#572)

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
xermicus authored and GitHub committed 2026-07-10 12:06:11 +02:00
1 parent e7c761c068
commit d1c00c2147
12 files changed
+20 -11

No files matched your search

+5
View File
@@ -49,6 +49,9 @@ pub enum EVMVersion {
/// The corresponding EVM version.
#[serde(rename = "osaka")]
Osaka,
/// The corresponding EVM version.
#[serde(rename = "amsterdam")]
Amsterdam,
}
impl TryFrom<&str> for EVMVersion {
@@ -70,6 +73,7 @@ impl TryFrom<&str> for EVMVersion {
"cancun" => Self::Cancun,
"prague" => Self::Prague,
"osaka" => Self::Osaka,
"amsterdam" => Self::Amsterdam,
_ => anyhow::bail!("Invalid EVM version: {}", value),
})
}
@@ -92,6 +96,7 @@ impl std::fmt::Display for EVMVersion {
Self::Cancun => write!(f, "cancun"),
Self::Prague => write!(f, "prague"),
Self::Osaka => write!(f, "osaka"),
Self::Amsterdam => write!(f, "amsterdam"),
}
}
}