Skip to content

Commit 82918f4

Browse files
authored
Enable optimizer in foundry.toml and fix Certora CI (#11)
* Enable optimizer in toml * Update certora CI --------- Co-authored-by: telome <>
1 parent 6188f37 commit 82918f4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/certora.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
submodules: recursive
2424

@@ -28,10 +28,10 @@ jobs:
2828
java-version: '11'
2929
java-package: jre
3030

31-
- name: Set up Python 3.8
32-
uses: actions/setup-python@v3
31+
- name: Set up Python 3.13
32+
uses: actions/setup-python@v5
3333
with:
34-
python-version: 3.8
34+
python-version: 3.13
3535

3636
- name: Install solc-select
3737
run: pip3 install solc-select

foundry.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ src = "src"
33
out = "out"
44
libs = ["lib"]
55
solc = "0.8.21"
6+
optimizer = true
7+
optimizer_runs = 200
8+
evmVersion = "shanghai"
69
fs_permissions = [
710
{ access = "read", path = "./script/input/"},
811
{ access = "read", path = "./out/"},

0 commit comments

Comments
 (0)