Closed cc32d9 closed 1 year ago
The ABI has different names for the action and its type: "claimprize" vs. "claim_prize". The values in the data are name
, followed by uint16
seems like I see the error: "claimprize" is not a type, so I need to find the action and get its type first
Yes, this is not a bug in the decoder. EOSIO ABI decoding is not coupled to actions, if the action specifies an argument type you need to use that. What confused you is probably that commonly the ABIs are created with action and type names being the same.
yes, it's the PEBCAK
Code to reproduce the failure:
https://github.com/EOSChronicleProject/chronos-client-npm/blob/af4762f00d23cdf108e43cb8bd430b7f3c2f2d5e/tmp/wharf_abi_decode_failure.js
Error message:
Transaction ID on WAX:
bde4e9ad905af3c9ee322473eea25bb7d7529b272c7c884d4dfd9ca00565c213