From 9c1db4776ec8e5a3be9f59a419164086ed343ac4 Mon Sep 17 00:00:00 2001 From: sam bacha Date: Wed, 10 May 2023 01:06:20 -0700 Subject: [PATCH] fix(config): update profile and evm version update to shanghai and fix profile conventions to latest foundry spec --- foundry.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/foundry.toml b/foundry.toml index 44b3328..006722d 100644 --- a/foundry.toml +++ b/foundry.toml @@ -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 @@ -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'