The currently used type i64 is wide enough for the time being but may not be so in the distant future. Using i128 instead ensures that any u64 value stays represented correctly.
Changes
Change all i64 variables for amounts to i128.
Rosetta represents amounts as strings so no changes to generated code are required.
Purpose
The currently used type
i64
is wide enough for the time being but may not be so in the distant future. Usingi128
instead ensures that anyu64
value stays represented correctly.Changes
Change all
i64
variables for amounts toi128
.Rosetta represents amounts as strings so no changes to generated code are required.
Requested in this comment.