eos
eos copied to clipboard
Update table struc return an error when trying to retrieve the table
After updating the table by adding a new string field and pushing it to the blockchain, the table cannot be retrieved.
Here is the error message:
$ cleos get table bao bao tasks 1324670ms thread-0 main.cpp:1763 main ] Failed with error: Out of Range (8) get datastream of length 28 over by 1
Whenever you update the structure of a table, you will need to delete the old table and create a new one in order to avoid inconsistencies.