Skip to content

Commit 89c7010

Browse files
committed
fix: add --ir-minimum flag to forge coverage command
Prevents stack-too-deep compiler error when running coverage without optimizer, caused by RecurringCollector contract complexity.
1 parent fa57fbc commit 89c7010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/horizon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"test:deployment": "SECURE_ACCOUNTS_DISABLE_PROVIDER=true hardhat test test/deployment/*.ts",
3636
"test:integration": "./scripts/integration",
3737
"test:coverage": "pnpm build && pnpm test:coverage:self",
38-
"test:coverage:self": "forge coverage",
38+
"test:coverage:self": "forge coverage --ir-minimum",
3939
"prepublishOnly": "pnpm run build"
4040
},
4141
"devDependencies": {

0 commit comments

Comments
 (0)