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
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.
-
There are several issues on GitHub about this, including this one: github.com/EOSIO/eos/issues/3695 Commented Jun 26, 2018 at 15:36