test case:
|uint64|
|arg_name|
|9223372036854775807|
current result
the uint64 value 9223372036854775807 will be exported as a number 9223372036854775807
{
"arg_name": 9223372036854775807
}
but this may cause some precision problems (in JS)
solution
for a numeric type that may be greater than a security integer, export its value as a string
{
"arg_name": "9223372036854775807",
}
for now
before this problem is solved, avoid using large number type and use tag 'string'.
test case:
current result
the uint64 value 9223372036854775807 will be exported as a number 9223372036854775807
{ "arg_name": 9223372036854775807 }but this may cause some precision problems (in JS)
solution
for a numeric type that may be greater than a security integer, export its value as a string
{ "arg_name": "9223372036854775807", }for now
before this problem is solved, avoid using large number type and use tag 'string'.