Skip to content

Commit

Permalink
fix(config): update profile and evm version
Browse files Browse the repository at this point in the history
update to shanghai and fix profile conventions to latest foundry spec
  • Loading branch information
sambacha authored May 10, 2023
1 parent f524c89 commit 9c1db47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cache = true
cache_path = "cache"
broadcast = "broadcast"
force = false
evm_version = "london"
evm_version = "shanghai"
gas_reports = ["*"]
gas_reports_ignore = []
auto_detect_solc = true
Expand Down Expand Up @@ -129,11 +129,11 @@ include_storage = true
# The flag indicating whether to include push bytes values
include_push_bytes = true

[default.optimizer_details]
[profile.default.optimizer_details]
# constantOptimizer = true
yul = true
# this sets the `yulDetails` of the `optimizer_details` for the `default` profile
[default.optimizer_details.yulDetails]
[profile.default.optimizer_details.yulDetails]
stackAllocation = false
optimizerSteps = 'u'

Expand Down

0 comments on commit 9c1db47

Please sign in to comment.