Skip to content

Commit

Permalink
fix: pin foundry version (#326)
Browse files Browse the repository at this point in the history
* pin foundry version

* try again

* revert old changes
  • Loading branch information
anihamde authored Jan 13, 2025
1 parent 370fe47 commit baffeb6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1.1.1
with:
version: nightly
version: nightly-3ba3d5f9e6008779c68b94ef9a0015ca2fe60b6a
- name: Install evm contracts npm dependencies
working-directory: contracts/evm
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-solidity-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1.1.1
with:
version: nightly
version: nightly-3ba3d5f9e6008779c68b94ef9a0015ca2fe60b6a

- name: Generate ABIs
run: pnpm generate-abi
Expand Down
2 changes: 1 addition & 1 deletion contracts/evm/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: nightly-3ba3d5f9e6008779c68b94ef9a0015ca2fe60b6a

- name: Run Forge build
run: |
Expand Down
6 changes: 0 additions & 6 deletions contracts/evm/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,11 @@ out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./"}]
solc = "0.8.20"
optimizer = true
optimizer_runs = 200
via_ir = true

[profile.permit2]
src = "permit2"
solc = "0.8.17"
test = "permit2"
script ="permit2"
optimizer = true
optimizer_runs = 200
via_ir = true

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

0 comments on commit baffeb6

Please sign in to comment.