Using anything larger than 1e15 as a literal in JavaScript can result in inaccuracies... Currently 1e36 is used as a literal in this codebase, you can see it's not exactly what you expect:
> BigInt(1e36)
1000000000000000042420637374017961984n
> 10n ** 36n
1000000000000000000000000000000000000n
Using anything larger than
1e15as a literal in JavaScript can result in inaccuracies... Currently1e36is used as a literal in this codebase, you can see it's not exactly what you expect: