mirror of
https://github.com/luxfi/graph.git
synced 2026-09-24 00:26:07 +00:00
6136695afa93f7abbc8159622fabecd9e8b27951
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]>
Description
Single-binary GraphQL query layer for Lux blockchain — replaces The Graph's Graph Node
27 MiB
Languages
Go
99.9%
Dockerfile
0.1%