Skip to content

Commit 1d39e17

Browse files
authored
Merge pull request #8 from a16z/pin-solc
pin solc to 0.8.25 to avoid stack too deep errors
2 parents 8742d6b + e98623f commit 1d39e17

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/setup-python@v4
4242
with:
4343
python-version: "3.11"
44-
44+
4545
- name: Install dependencies
4646
run: pip install argparse eth_abi halmos
4747

@@ -51,5 +51,5 @@ jobs:
5151
id: test-ref
5252

5353
- name: Run Halmos
54-
run: halmos --function testProve --loop 256 --error-unknown --test-parallel --solver-parallel --solver-timeout-assertion 0
54+
run: halmos --function testProve --loop 256 --test-parallel --solver-parallel --solver-timeout-assertion 0
5555
id: test-halmos

foundry.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ out = 'out'
44
libs = ['lib']
55
via_ir = true
66

7-
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
7+
# workaround for stack too deep errors with 0.8.26 https://github.com/ethereum/solidity/issues/14358
8+
solc = "0.8.25"
9+
10+
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

0 commit comments

Comments
 (0)