Skip to content

Commit

Permalink
revert compilation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Dec 18, 2024
1 parent f96036d commit 6e392c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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 = false
via_ir = true
ffi = true
fs_permissions = [{ access = "read-write", path = ".forge-snapshots/" }, { access = "read", path = "foundry-out/" }]
evm_version = "cancun"
Expand All @@ -11,14 +11,14 @@ fuzz_runs = 10_000
bytecode_hash = "none"

additional_compiler_profiles = [
{ name = "posm", via_ir = false, optimizer_runs = 2000},
{ 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", via_ir = false, optimizer_runs = 2000},
{ paths = "src/PositionDescriptor.sol", via_ir = true, optimizer_runs = 1 },
{ paths = "src/PositionManager.sol", optimizer_runs = 30000 },
{ paths = "src/PositionDescriptor.sol", optimizer_runs = 1 },
{ paths = "test/**", via_ir = false }
]

Expand All @@ -39,4 +39,4 @@ unichain_sepolia = "https://sepolia.unichain.org"
base_sepolia = "https://sepolia.base.org"
arbitrum_sepolia = "https://sepolia-rollup.arbitrum.io/rpc"

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
# See more config options https://github.com/foundry-rs/foundry/tree/master/config

0 comments on commit 6e392c3

Please sign in to comment.