eos icon indicating copy to clipboard operation
eos copied to clipboard

Update table struc return an error when trying to retrieve the table

Open baothy opened this issue 8 years ago • 1 comments

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

baothy avatar May 04 '18 15:05 baothy

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.

ChristianDunst avatar Jun 20 '18 02:06 ChristianDunst