Skip to content

Commit

Permalink
bytecode_hash = "none" to fix theCompact size
Browse files Browse the repository at this point in the history
  • Loading branch information
vimageDE committed Feb 28, 2025
1 parent b340dd7 commit aeefd91
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ libs = ["lib"]
optimizer = true
optimizer_runs = 999999
via_ir = true
solc = "0.8.27"
solc = "0.8.28"
verbosity = 2
ffi = true
evm_version = "cancun"
fs_permissions = [
{ access = "read-write", path = ".forge-snapshots"},
{ access = "read", path = "script/" }
]

remappings = [
"forge-std=lib/forge-std/src",
"@openzeppelin/contracts=lib/openzeppelin-contracts/contracts",
Expand All @@ -22,6 +21,16 @@ remappings = [
"@solady=lib/solady/src",
]

[profile.ci]
inherit = "default"
optimizer_runs = 200 # Override optimizer runs to reduce the compact contract sizes
bytecode_hash = 'none'

[profile.pr]
inherit = "default"
optimizer_runs = 200 # Override optimizer runs to reduce the compact contract sizes
bytecode_hash = 'none'

[profile.default.fuzz]
runs = 1000

Expand Down

0 comments on commit aeefd91

Please sign in to comment.