The 30-way threshold lookup in optimizer_seed.push3 generates enough local variables to trigger "Stack too deep" without IR compilation. Add via_ir = true to the minimal foundry.toml created in both test scripts, matching the setting in onchain/foundry.toml. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| inject.sh | ||
| optimizer_seed.push3 | ||
| optimizer_v3.push3 | ||
| package-lock.json | ||
| package.json | ||
| test_inject_extraction.sh | ||
| test_transpiler_clamping.sh | ||
| tsconfig.json | ||