Skip to content

Commit 5c4becb

Browse files
authored
Merge branch 'main' into klkvr/pp-test-rebase
2 parents 1a3de9f + 564a996 commit 5c4becb

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

crates/artifacts/solc/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ pub enum EvmVersion {
818818
#[default]
819819
Cancun,
820820
Prague,
821+
Osaka,
821822
}
822823

823824
impl EvmVersion {
@@ -900,6 +901,7 @@ impl EvmVersion {
900901
Self::Shanghai => "shanghai",
901902
Self::Cancun => "cancun",
902903
Self::Prague => "prague",
904+
Self::Osaka => "osaka",
903905
}
904906
}
905907

@@ -969,6 +971,7 @@ impl FromStr for EvmVersion {
969971
"shanghai" => Ok(Self::Shanghai),
970972
"cancun" => Ok(Self::Cancun),
971973
"prague" => Ok(Self::Prague),
974+
"osaka" => Ok(Self::Osaka),
972975
s => Err(format!("Unknown evm version: {s}")),
973976
}
974977
}

crates/core/src/utils/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ pub const CANCUN_SOLC: Version = Version::new(0, 8, 24);
6666
/// <https://soliditylang.org/blog/2024/09/04/solidity-0.8.27-release-announcement>
6767
pub const PRAGUE_SOLC: Version = Version::new(0, 8, 27);
6868

69+
/// Osaka support
70+
/// <https://soliditylang.org/blog/2025/03/12/solidity-0.8.29-release-announcement>
71+
pub const OSAKA_SOLC: Version = Version::new(0, 8, 29);
72+
6973
// `--base-path` was introduced in 0.6.9 <https://github.com/ethereum/solidity/releases/tag/v0.6.9>
7074
pub static SUPPORTS_BASE_PATH: Lazy<VersionReq> =
7175
Lazy::new(|| VersionReq::parse(">=0.6.9").unwrap());

deny.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[advisories]
22
version = 2
33
yanked = "warn"
4-
ignore = []
4+
ignore = [
5+
# https://rustsec.org/advisories/RUSTSEC-2024-0436 paste! is unmaintained
6+
"RUSTSEC-2024-0436",
7+
]
58

69
[bans]
710
multiple-versions = "warn"

0 commit comments

Comments
 (0)