Skip to content

Commit 6259e8d

Browse files
authored
Merge branch 'main' into klkvr/pp-test-rebase
2 parents 0fd4caa + 8dde3b1 commit 6259e8d

File tree

3 files changed

+40
-8
lines changed

3 files changed

+40
-8
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.13.5](https://github.com/foundry-rs/compilers/releases/tag/v0.13.5) - 2025-03-14
9+
10+
### Bug Fixes
11+
12+
- Missing check for normalization ([#257](https://github.com/foundry-rs/compilers/issues/257))
13+
14+
## [0.13.4](https://github.com/foundry-rs/compilers/releases/tag/v0.13.4) - 2025-03-14
15+
16+
### Bug Fixes
17+
18+
- Update normalization ([#256](https://github.com/foundry-rs/compilers/issues/256))
19+
20+
### Features
21+
22+
- Add osaka evm version ([#254](https://github.com/foundry-rs/compilers/issues/254))
23+
24+
### Miscellaneous Tasks
25+
26+
- Release 0.13.4
27+
28+
### Other
29+
30+
- Allow unmaintained paste ([#255](https://github.com/foundry-rs/compilers/issues/255))
31+
832
## [0.13.3](https://github.com/foundry-rs/compilers/releases/tag/v0.13.3) - 2025-02-14
933

1034
### Bug Fixes
@@ -15,6 +39,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1539

1640
- Impl `.path(&self)` for `ContractInfo` ([#250](https://github.com/foundry-rs/compilers/issues/250))
1741

42+
### Miscellaneous Tasks
43+
44+
- Release 0.13.3
45+
1846
## [0.13.2](https://github.com/foundry-rs/compilers/releases/tag/v0.13.2) - 2025-02-06
1947

2048
### Bug Fixes

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resolver = "2"
44

55
[workspace.package]
66
authors = ["Foundry Maintainers"]
7-
version = "0.13.3"
7+
version = "0.13.5"
88
rust-version = "1.83"
99
readme = "README.md"
1010
license = "MIT OR Apache-2.0"
@@ -35,11 +35,11 @@ redundant-lifetimes = "warn"
3535
all = "warn"
3636

3737
[workspace.dependencies]
38-
foundry-compilers = { path = "crates/compilers", version = "0.13.3" }
39-
foundry-compilers-artifacts = { path = "crates/artifacts/artifacts", version = "0.13.3" }
40-
foundry-compilers-artifacts-solc = { path = "crates/artifacts/solc", version = "0.13.3" }
41-
foundry-compilers-artifacts-vyper = { path = "crates/artifacts/vyper", version = "0.13.3" }
42-
foundry-compilers-core = { path = "crates/core", version = "0.13.3" }
38+
foundry-compilers = { path = "crates/compilers", version = "0.13.5" }
39+
foundry-compilers-artifacts = { path = "crates/artifacts/artifacts", version = "0.13.5" }
40+
foundry-compilers-artifacts-solc = { path = "crates/artifacts/solc", version = "0.13.5" }
41+
foundry-compilers-artifacts-vyper = { path = "crates/artifacts/vyper", version = "0.13.5" }
42+
foundry-compilers-core = { path = "crates/core", version = "0.13.5" }
4343

4444
alloy-json-abi = { version = "0.8", features = ["serde_json"] }
4545
alloy-primitives = { version = "0.8", features = ["serde", "rand"] }

crates/artifacts/solc/src/lib.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ use foundry_compilers_core::{
3939
error::SolcError,
4040
utils::{
4141
strip_prefix_owned, BERLIN_SOLC, BYZANTIUM_SOLC, CANCUN_SOLC, CONSTANTINOPLE_SOLC,
42-
ISTANBUL_SOLC, LONDON_SOLC, PARIS_SOLC, PETERSBURG_SOLC, PRAGUE_SOLC, SHANGHAI_SOLC,
42+
ISTANBUL_SOLC, LONDON_SOLC, OSAKA_SOLC, PARIS_SOLC, PETERSBURG_SOLC, PRAGUE_SOLC,
43+
SHANGHAI_SOLC,
4344
},
4445
};
4546
pub use serde_helpers::{deserialize_bytes, deserialize_opt_bytes};
@@ -856,8 +857,10 @@ impl EvmVersion {
856857
if *version >= BYZANTIUM_SOLC {
857858
// If the Solc version is the latest, it supports all EVM versions.
858859
// For all other cases, cap at the at-the-time highest possible fork.
859-
let normalized = if *version >= PRAGUE_SOLC {
860+
let normalized = if *version >= OSAKA_SOLC {
860861
self
862+
} else if self >= Self::Prague && *version >= PRAGUE_SOLC {
863+
Self::Prague
861864
} else if self >= Self::Cancun && *version >= CANCUN_SOLC {
862865
Self::Cancun
863866
} else if self >= Self::Shanghai && *version >= SHANGHAI_SOLC {
@@ -2021,6 +2024,7 @@ mod tests {
20212024
("0.8.26", EvmVersion::Cancun, Some(EvmVersion::Cancun)),
20222025
("0.8.26", EvmVersion::Prague, Some(EvmVersion::Cancun)),
20232026
("0.8.27", EvmVersion::Prague, Some(EvmVersion::Prague)),
2027+
("0.8.29", EvmVersion::Osaka, Some(EvmVersion::Osaka)),
20242028
] {
20252029
let version = Version::from_str(solc_version).unwrap();
20262030
assert_eq!(

0 commit comments

Comments
 (0)