Skip to content

Commit

Permalink
feat: dont compile posm with ir
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulla-cb committed Dec 12, 2024
1 parent f2c4712 commit bd1394d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
out = 'foundry-out'
solc_version = '0.8.26'
optimizer_runs = 44444444
via_ir = true
via_ir = false
ffi = true
fs_permissions = [{ access = "read-write", path = ".forge-snapshots/" }, { access = "read", path = "foundry-out/" }]
evm_version = "cancun"
Expand All @@ -11,13 +11,11 @@ fuzz_runs = 10_000
bytecode_hash = "none"

additional_compiler_profiles = [
{ name = "posm", via_ir = true, optimizer_runs = 30000 },
{ name = "descriptor", via_ir = true, optimizer_runs = 1 },
{ name = "test", via_ir = false }
]

compilation_restrictions = [
{ paths = "src/PositionManager.sol", optimizer_runs = 30000 },
{ paths = "src/PositionDescriptor.sol", optimizer_runs = 1 },
{ paths = "test/**", via_ir = false }
]
Expand Down

0 comments on commit bd1394d

Please sign in to comment.