From 1839c72fbe1cfd178acf33178231e65ea63b0b70 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 27 Jan 2024 14:52:32 +0100 Subject: [PATCH] chore: solc 0.8.24 (#6916) * chore: solc 0.8.24 * Update crates/forge/tests/cli/svm.rs Co-authored-by: Enrique --------- Co-authored-by: Enrique --- Cargo.lock | 25 +++++++++++++++++++------ Cargo.toml | 2 +- crates/forge/tests/cli/svm.rs | 7 ++++--- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 35dcea09248d..286a7eb6769f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2614,7 +2614,7 @@ dependencies = [ "sha2 0.10.8", "solang-parser", "svm-rs", - "svm-rs-builds", + "svm-rs-builds 0.2.3", "tempfile", "thiserror", "tiny-keccak", @@ -3106,9 +3106,9 @@ dependencies = [ [[package]] name = "foundry-compilers" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "343530a6efe3786d26e1357f15605bb5cd28bd1133e6aab812126508a064bca7" +checksum = "5106d26aa9a9955c852bed6f9d8994d7229a177969ae5a813008022b022f31ae" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -3134,7 +3134,7 @@ dependencies = [ "sha2 0.10.8", "solang-parser", "svm-rs", - "svm-rs-builds", + "svm-rs-builds 0.3.5", "tempfile", "thiserror", "tiny-keccak", @@ -7197,9 +7197,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "svm-rs" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ce290b5536ab2a42a61c9c6f22d6bfa8f26339c602aa62db4c978c95d1afc47" +checksum = "11297baafe5fa0c99d5722458eac6a5e25c01eb1b8e5cd137f54079093daa7a4" dependencies = [ "dirs 5.0.1", "fs2", @@ -7228,6 +7228,19 @@ dependencies = [ "svm-rs", ] +[[package]] +name = "svm-rs-builds" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8d3c94c4d3337336f58493471b98d712c267c66977b0fbe48efd6cbf69ffd0" +dependencies = [ + "build_const", + "hex", + "semver 1.0.21", + "serde_json", + "svm-rs", +] + [[package]] name = "syn" version = "1.0.109" diff --git a/Cargo.toml b/Cargo.toml index dc2cb823ade3..d379d9ceadcb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -125,7 +125,7 @@ foundry-test-utils = { path = "crates/test-utils" } # solc & compilation utilities foundry-block-explorers = { version = "0.2.0", default-features = false } -foundry-compilers = { version = "0.2.3", default-features = false } +foundry-compilers = { version = "0.2.4", default-features = false } ## revm # no default features to avoid c-kzg diff --git a/crates/forge/tests/cli/svm.rs b/crates/forge/tests/cli/svm.rs index 08df1e3f815a..431a36a1c859 100644 --- a/crates/forge/tests/cli/svm.rs +++ b/crates/forge/tests/cli/svm.rs @@ -8,9 +8,10 @@ use svm::Platform; /// Solc to Foundry release process: /// 1. new solc release /// 2. svm updated with all build info -/// 3. svm bumped in ethers-rs -/// 4. ethers bumped in foundry + update the `LATEST_SOLC` -const LATEST_SOLC: Version = Version::new(0, 8, 23); +/// 3. svm bumped in foundry-compilers +/// 4. foundry-compilers update with any breaking changes +/// 5. upgrade the `LATEST_SOLC` +const LATEST_SOLC: Version = Version::new(0, 8, 24); macro_rules! ensure_svm_releases { ($($test:ident => $platform:ident),* $(,)?) => {$(