Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-all-via-ir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 &&
Expand Down Expand Up @@ -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" ] &&
Expand Down
8 changes: 4 additions & 4 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
Loading