If you look into every ABI file in the contract folder you will find:
{
"version": "eosio::abi/1.0",
"types": [{
"new_type_name": "account_name",
"type": "name"
}],
...
}
when I am try to generate an ABI file using eosiocpp -g ...
I receive:
{
"____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-05-21T07:24:55",
"version": "",
"types": [{
"new_type_name": "account_name",
"type": "uint64"
}],
It's very strange that account_name
is treated as uint64
not name
.
Due to this problem, abi_serializer
tries to parse the string to uint64 and throws an exception.
Did somebody notice it? I am running dawn-v4.1.0