harb/tools/push3-transpiler
openhands 8fbac32717 fix: No upper-bound validation for ci/anchorShare/discoveryDepth outputs (#960)
Add assertUint256Max1e18 validator in index.ts and apply it to the ci,
anchorShare, and discoveryDepth output literals. Programs emitting values
> 1e18 for these fields now fail with a clear transpiler-level error instead
of silently violating LiquidityManager invariants at runtime.

Add tests 12-14 in test_transpiler_clamping.sh covering the over-range
rejection for each of the three fields.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 20:48:25 +00:00
..
src fix: No upper-bound validation for ci/anchorShare/discoveryDepth outputs (#960) 2026-03-18 20:48:25 +00:00
inject.sh fix: Body extraction stops at first shallow closing brace (#809) 2026-03-16 00:21:06 +00:00
optimizer_seed.push3 fix: Push3 optimizer: dyadic rational input interface (8 slots) + 4-output redesign (#548) 2026-03-11 15:23:36 +00:00
optimizer_v3.push3 fix: Push3 optimizer: dyadic rational input interface (8 slots) + 4-output redesign (#548) 2026-03-11 15:23:36 +00:00
package-lock.json feat: Push3 → Solidity transpiler + OptimizerV3 port 2026-02-23 14:47:38 +00:00
package.json fix: fix: transpiler outputs raw int literals for uint24 anchorWidth — overflow crashes forge (#900) 2026-03-17 06:40:30 +00:00
test_inject_extraction.sh fix: add via_ir to temp forge project in transpiler tests 2026-03-18 13:17:18 +00:00
test_transpiler_clamping.sh fix: No upper-bound validation for ci/anchorShare/discoveryDepth outputs (#960) 2026-03-18 20:48:25 +00:00
tsconfig.json fix: package.json missing 'type': 'module' inconsistent with AGENTS.md (#850) 2026-03-16 06:35:05 +00:00