-
Notifications
You must be signed in to change notification settings - Fork 3.8k
TraceApi plugin can't parse eosio.token at 2.1.0 #10435
Comments
Working on issue. Will post updates as we have it. |
Hi @farukterzioglu can you tell me how you obtained 2.1 and which OS you are running on? This only seems to be a problem under certain circumstances. |
Hi @praphael |
Ok this definitely a bug in plugins/trace_api_plugin/abi_data_handler.cpp. When there is no return_value in the action, the chain/abi_serialzier will thrown an unpack exception, which causes function to return an empty tuple, so it is not included as part of JSON response. The fix is simply to separate out calls of parameter serialization and return_value serialization, and to wrap return_value serialization around a try/catch block. Will be updated ASAP. |
fix bug in trace_api_plugin no params returned GH issue 10435 / EPE 1066 #10435
No
params
in response ofv1/trace_api/get_block
in nodeos 2.1.0When I send query to
v1/trace_api/get_block
with nodeos 2.0.9, I can getfrom, to, quantity, memo
for eosio.token in the response (params).But when I send the same request to 2.1.0 nodeos, response doesn’t have params
I have
eosio.token.abi
in/data/abis
and both nodes (2.0.9 / 2.1.0) have the same config. I only updated from the node 2.0.9 to 2.1.0my config :
The text was updated successfully, but these errors were encountered: