harb/tools/push3-transpiler/src
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
..
index.ts fix: No upper-bound validation for ci/anchorShare/discoveryDepth outputs (#960) 2026-03-18 20:48:25 +00:00
parser.ts feat: Push3 → Solidity transpiler + OptimizerV3 port 2026-02-23 14:47:38 +00:00
transpiler.ts fix: package.json missing 'type': 'module' inconsistent with AGENTS.md (#850) 2026-03-16 06:35:05 +00:00