harb/kraiken-lib/src
openhands 6eacfe1975 fix: \uint256ToBytesLittleEndian\ silently truncates above 2³²−1 (#294)
Expand the output buffer from 4 bytes to 32 bytes and iterate all 32
positions, so values ≥ 2³² are encoded correctly instead of silently
dropped. Update tests to assert 32-byte output and add coverage for
2³², 2¹²⁸, and max uint256 roundtrips.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 06:42:59 +00:00
..
__generated__ lint/lib (#49) 2025-10-03 11:57:01 +02:00
tests fix: \uint256ToBytesLittleEndian\ silently truncates above 2³²−1 (#294) 2026-02-27 06:42:59 +00:00
abis.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00
format.ts fix: Move BigInt formatting functions from helper.ts to kraiken-lib/format (#246) 2026-02-24 23:00:58 +00:00
ids.ts lint/lib (#49) 2025-10-03 11:57:01 +02:00
index.ts refactor: migrate kraiken-lib to explicit subpath imports (BREAKING CHANGE) (#89) 2025-11-20 18:54:53 +01:00
position.ts fix: Fix collapse component formatting: taxPaid display, string coercion, BigInt precision (#260) 2026-02-25 08:06:49 +00:00
snatch.ts feat(ponder): Add strict ESLint + Prettier with pre-commit hooks (#52) 2025-10-04 15:37:26 +02:00
staking.ts lint/lib (#49) 2025-10-03 11:57:01 +02:00
subgraph.ts fix: \uint256ToBytesLittleEndian\ silently truncates above 2³²−1 (#294) 2026-02-27 06:42:59 +00:00
taxRates.ts tax rate, version and compose (#70) 2025-10-07 19:26:08 +02:00
version.ts fix: kraiken-lib: fix broken tests + raise coverage to 95% (#286) 2026-02-26 00:10:45 +00:00