3

I'm trying to generate an abi to a struct that has two keys I have tried different combination but could not have both indexes generated. Has someone succeed trying something like that ? Is this a know bug?

1 Answer 1

2

If you are trying get table rows with diferent table_keys using api or cleos, that feature is not working. You can see the code in https://github.com/EOSIO/eos/blob/master/plugins/chain_plugin/include/eosio/chain_plugin/chain_plugin.hpp#L255. In that method the parameter p.table_key is never used.

Running the command like: cleos get table contract scope table -k customer -L 56 the customer parameters is not used.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.