Skip to content

Commit

Permalink
change optimizer runs for manager only
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakocsis committed Nov 27, 2024
1 parent c829773 commit a6baeac
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ via_ir = true
solc_version = '0.8.26'
evm_version = "cancun"

optimizer_runs = 1
optimizer_runs = 44444444
fs_permissions = [{ access = "read", path = "./script/deployParameters/"}]

additional_compiler_profiles = [
{ name = "manager", via_ir = true, optimizer_runs = 1 },
]

compilation_restrictions = [
{ paths = "lib/v4-periphery/src/PositionManager.sol", optimizer_runs = 1 },
]

[fmt]
line_length = 120
quote_style = 'single'
Expand Down

0 comments on commit a6baeac

Please sign in to comment.