zeekayandHanzo Dev 6136695afa Refuse an amount that does not fit the word it is rendered into
Every argument in a call is one word wide and position is the only thing that
says which argument is which. An amount above 2^256-1 rendered 65 hex
characters instead of 64, shifting every argument after it — the call stayed
well-formed and meant something else: a different recipient, a different bound.

The bound belongs at parseWei, where an amount enters, so the quote, the swap
and the approval all get it from one place rather than three.

Inflating an exact-output bound could carry a value that fits past what fits,
so it stops at the width instead. A bound wider than the type can express is
not a wider bound.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-13 17:14:52 -07:00
S
Description
Single-binary GraphQL query layer for Lux blockchain — replaces The Graph's Graph Node
27 MiB
Languages
Go 99.9%
Dockerfile 0.1%