From c2762ef801e8abd15d763baf3c6ed4694142a0ec Mon Sep 17 00:00:00 2001 From: atarpara Date: Thu, 4 Dec 2025 15:45:38 +0530 Subject: [PATCH 1/5] Bump solc version --- .github/workflows/ci-all-via-ir.yml | 1 + .github/workflows/ci.yml | 17 +++++++++-------- foundry.toml | 8 ++++---- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-all-via-ir.yml b/.github/workflows/ci-all-via-ir.yml index 4bf8a063a9..cfad0d1553 100644 --- a/.github/workflows/ci-all-via-ir.yml +++ b/.github/workflows/ci-all-via-ir.yml @@ -46,6 +46,7 @@ jobs: forge test --use 0.8.17 --via-ir ) || ( [ "${{ matrix.profile }}" = "via-ir-3" ] && + forge test --use 0.8.31 --via-ir && forge test --use 0.8.30 --via-ir && forge test --use 0.8.29 --via-ir && forge test --use 0.8.28 --via-ir && diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e07df422e..bc691c3e42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - profile: [post-prague,post-prague-via-ir,solc-past-versions-0,solc-past-versions-1,via-ir,min-solc,min-solc-via-ir,intense] + profile: [post-osaka,post-osaka-via-ir,solc-past-versions-0,solc-past-versions-1,via-ir,min-solc,min-solc-via-ir,intense] steps: - uses: actions/checkout@v5 - name: Install Foundry Stable @@ -27,13 +27,13 @@ jobs: run: forge install - name: Run Tests with ${{ matrix.profile }} run: > - ( [ "${{ matrix.profile }}" = "post-prague" ] && - FOUNDRY_PROFILE=post_prague forge test --use 0.8.30 && - FOUNDRY_PROFILE=zksync forge test --use 0.8.30 + ( [ "${{ matrix.profile }}" = "post-osaka" ] && + FOUNDRY_PROFILE=post_osaka forge test --use 0.8.31 && + FOUNDRY_PROFILE=zksync forge test --use 0.8.31 ) || - ( [ "${{ matrix.profile }}" = "post-prague-via-ir" ] && - FOUNDRY_PROFILE=post_prague forge test --use 0.8.30 --via-ir && - FOUNDRY_PROFILE=zksync forge test --use 0.8.30 --via-ir + ( [ "${{ matrix.profile }}" = "post-osaka-via-ir" ] && + FOUNDRY_PROFILE=post_osaka forge test --use 0.8.31 --via-ir && + FOUNDRY_PROFILE=zksync forge test --use 0.8.31 --via-ir ) || ( [ "${{ matrix.profile }}" = "solc-past-versions-0" ] && FOUNDRY_PROFILE=pre_global_structs forge test --use 0.8.5 --fuzz-runs 16 && @@ -62,7 +62,8 @@ jobs: forge test --use 0.8.26 --fuzz-runs 16 && forge test --use 0.8.27 --fuzz-runs 16 && forge test --use 0.8.28 --fuzz-runs 16 && - forge test --use 0.8.29 --fuzz-runs 16 + forge test --use 0.8.29 --fuzz-runs 16 && + forge test --use 0.8.30 --fuzz-runs 16 ) || ( [ "${{ matrix.profile }}" = "via-ir" ] && diff --git a/foundry.toml b/foundry.toml index 0e9c6acc5d..7068882728 100644 --- a/foundry.toml +++ b/foundry.toml @@ -4,8 +4,8 @@ # The Default Profile [profile.default] -solc_version = "0.8.30" -evm_version = "paris" # Cancun will be tested in the CI. +solc_version = "0.8.31" +evm_version = "paris" # osaka will be tested in the CI. auto_detect_solc = false optimizer = true optimizer_runs = 1_000 @@ -20,8 +20,8 @@ remappings = [ skip = ["*/g/*", "*/*7702*", "*/*BlockHashLib*", "*/*Transient*", "*/ext/ithaca/*", "*/ext/zksync/*"] -[profile.post_prague] -evm_version = "prague" +[profile.post_osaka] +evm_version = "osaka" skip = ["*/ext/ithaca/*"] [profile.zksync] From d00fd8ed9d1be5e561544d19087bf19d6bc30e89 Mon Sep 17 00:00:00 2001 From: atarpara Date: Fri, 26 Dec 2025 10:25:19 +0530 Subject: [PATCH 2/5] Update solc version --- .github/workflows/ci.yml | 12 +++++++----- foundry.toml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc691c3e42..c958037cc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,12 +28,12 @@ jobs: - name: Run Tests with ${{ matrix.profile }} run: > ( [ "${{ matrix.profile }}" = "post-osaka" ] && - FOUNDRY_PROFILE=post_osaka forge test --use 0.8.31 && - FOUNDRY_PROFILE=zksync forge test --use 0.8.31 + FOUNDRY_PROFILE=post_osaka forge test --use 0.8.33 && + FOUNDRY_PROFILE=zksync forge test --use 0.8.33 ) || ( [ "${{ matrix.profile }}" = "post-osaka-via-ir" ] && - FOUNDRY_PROFILE=post_osaka forge test --use 0.8.31 --via-ir && - FOUNDRY_PROFILE=zksync forge test --use 0.8.31 --via-ir + FOUNDRY_PROFILE=post_osaka forge test --use 0.8.33 --via-ir && + FOUNDRY_PROFILE=zksync forge test --use 0.8.33 --via-ir ) || ( [ "${{ matrix.profile }}" = "solc-past-versions-0" ] && FOUNDRY_PROFILE=pre_global_structs forge test --use 0.8.5 --fuzz-runs 16 && @@ -63,7 +63,9 @@ jobs: forge test --use 0.8.27 --fuzz-runs 16 && forge test --use 0.8.28 --fuzz-runs 16 && forge test --use 0.8.29 --fuzz-runs 16 && - forge test --use 0.8.30 --fuzz-runs 16 + forge test --use 0.8.30 --fuzz-runs 16 && + forge test --use 0.8.31 --fuzz-runs 16 && + forge test --use 0.8.32 --fuzz-runs 16 ) || ( [ "${{ matrix.profile }}" = "via-ir" ] && diff --git a/foundry.toml b/foundry.toml index 7068882728..bcfe0c08a8 100644 --- a/foundry.toml +++ b/foundry.toml @@ -4,7 +4,7 @@ # The Default Profile [profile.default] -solc_version = "0.8.31" +solc_version = "0.8.33" evm_version = "paris" # osaka will be tested in the CI. auto_detect_solc = false optimizer = true From d4c038dfc342c4f63fdb6574812d9abb1ce955ab Mon Sep 17 00:00:00 2001 From: atarpara Date: Fri, 26 Dec 2025 10:49:51 +0530 Subject: [PATCH 3/5] Skip 0.8.32 version --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c958037cc1..d0ff96e6a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,8 @@ jobs: FOUNDRY_PROFILE=pre_global_structs forge test --use 0.8.11 --fuzz-runs 16 && FOUNDRY_PROFILE=pre_global_structs forge test --use 0.8.12 --fuzz-runs 16 ) || + # NOTE: skipping solc 0.8.32 due to compiler bug + # https://github.com/argotorg/solidity/issues/16360 ( [ "${{ matrix.profile }}" = "solc-past-versions-1" ] && forge test --use 0.8.13 --fuzz-runs 16 && forge test --use 0.8.14 --fuzz-runs 16 && @@ -64,9 +66,7 @@ jobs: forge test --use 0.8.28 --fuzz-runs 16 && forge test --use 0.8.29 --fuzz-runs 16 && forge test --use 0.8.30 --fuzz-runs 16 && - forge test --use 0.8.31 --fuzz-runs 16 && - forge test --use 0.8.32 --fuzz-runs 16 - + forge test --use 0.8.31 --fuzz-runs 16 ) || ( [ "${{ matrix.profile }}" = "via-ir" ] && forge test --via-ir From 2cb54e3061521b91ae9cb6dd699f60455bf89ac5 Mon Sep 17 00:00:00 2001 From: atarpara Date: Fri, 26 Dec 2025 10:51:28 +0530 Subject: [PATCH 4/5] T --- .github/workflows/ci-all-via-ir.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-all-via-ir.yml b/.github/workflows/ci-all-via-ir.yml index cfad0d1553..6edfe60895 100644 --- a/.github/workflows/ci-all-via-ir.yml +++ b/.github/workflows/ci-all-via-ir.yml @@ -45,7 +45,10 @@ jobs: forge test --use 0.8.16 --via-ir && forge test --use 0.8.17 --via-ir ) || + # NOTE: skipping solc 0.8.32 due to compiler bug + # https://github.com/argotorg/solidity/issues/16360 ( [ "${{ matrix.profile }}" = "via-ir-3" ] && + forge test --use 0.8.33 --via-ir && forge test --use 0.8.31 --via-ir && forge test --use 0.8.30 --via-ir && forge test --use 0.8.29 --via-ir && From ccd202fddde301d19c173bd5357c015a758e8b44 Mon Sep 17 00:00:00 2001 From: atarpara Date: Mon, 29 Dec 2025 13:35:48 +0530 Subject: [PATCH 5/5] T --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0ff96e6a3..593c68df10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,8 @@ jobs: version: stable - name: Install Dependencies run: forge install + # NOTE: skipping solc 0.8.32 due to compiler bug + # https://github.com/argotorg/solidity/issues/16360 - name: Run Tests with ${{ matrix.profile }} run: > ( [ "${{ matrix.profile }}" = "post-osaka" ] && @@ -45,8 +47,6 @@ jobs: FOUNDRY_PROFILE=pre_global_structs forge test --use 0.8.11 --fuzz-runs 16 && FOUNDRY_PROFILE=pre_global_structs forge test --use 0.8.12 --fuzz-runs 16 ) || - # NOTE: skipping solc 0.8.32 due to compiler bug - # https://github.com/argotorg/solidity/issues/16360 ( [ "${{ matrix.profile }}" = "solc-past-versions-1" ] && forge test --use 0.8.13 --fuzz-runs 16 && forge test --use 0.8.14 --fuzz-runs 16 &&