2 votes
Accepted

cleos data getting inserted and deleted but table shows empty record

You set get_first_receiver() as the scope of member_index. If this action is not sent by other contract, first_receiver will be the account where the contract is deployed. [[eosio::action]] void ...
conr2d's user avatar
  • 2,320
2 votes

Error querying RAM: Unable to unpack built-in type etc

This error is usually caused by having a table that contains data in a specific format and then updating the ABI after the fact to change the data types or structures. The ABI file now thinks that all ...
Phillip Hamnett - EOS42's user avatar
2 votes
Accepted

Error querying RAM: Unable to unpack built-in type etc

I resolved the issue by moving the vectors into separate objects, then referencing those objects in the table definition: struct teststruct{ name compname; std:vector<anotherstruct> structs;...
John Campbell's user avatar
1 vote
Accepted

Set lower bound and upper bound to get table rows

lower_bound and upper_bound set the range of primary key of items you want to retrieve. If you want to get first 10 items, then call get_table_rows by lower_bound and upper_bound with the value "&...
conr2d's user avatar
  • 2,320
1 vote
Accepted

Wrong table name in scope response

If your multi_index table has multiple indices by using indexed_by, additional index will be shown like ORIGINAL_TABLE_NAME........1. The last character will use remaining last 4 bits in eosio::name. ...
conr2d's user avatar
  • 2,320
1 vote

Retrieve data from multi index table

I'm unaware of a way to not return certain rows, however I believe you can achieve similar results with something like this: uint64_t get_secondary_1() const { return result == "pass";} This will ...
Byte Disciple's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible