Skip to content

Commit 10584d3

Browse files
committed
code size limit
1 parent 4eabe3f commit 10584d3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ethereum/contracts/foundry.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
src = "src"
33
out = "out"
44
libs = ["lib"]
5+
ignored_error_codes = ["code-size"]
56

67
[profile.ci]
78
src = "src"
89
out = "out"
910
libs = ["lib"]
11+
ignored_error_codes = ["code-size"]

ethereum/tests/src/setupAnvil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ let anvil: ChildProcess;
55

66
export function setup() {
77
assert(anvil === undefined, 'Anvil already running');
8-
anvil = spawn('anvil');
8+
anvil = spawn('anvil', ['--code-size-limit', '100000']);
99
}
1010

1111
export function teardown() {

0 commit comments

Comments
 (0)