Skip to content

Commit

Permalink
Merge pull request #302 from primitivefinance/gas/study-v1.0.0
Browse files Browse the repository at this point in the history
feat(gas-study-v1.0.0): adds a comprehensive gas test suite
  • Loading branch information
Alexangelj authored Mar 29, 2023
2 parents a21518a + 13fdeda commit 7320ddd
Show file tree
Hide file tree
Showing 2 changed files with 644 additions and 47 deletions.
6 changes: 6 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ optimizer_runs = 0
optimizer = true
out = 'optimized-out'

[profile.optimizedcalls]
via_ir = true
optimizer = true
optimizer_runs = 10000
out = 'optimized-out'

[profile.test] # does not use optimizer
src = 'test/' # not default
gas_reports = ["*"]
Expand Down
Loading

0 comments on commit 7320ddd

Please sign in to comment.