You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
I am writing a simple test contract which saves a struct with (Name,char[32]). Saving seems to work ok but when I try to read nothing is returned and eosc get table dbtest dbtest test fails with the following error. Attached is a simple test case, I think the length of 40 is correct so I am not sure why it has a negative over figure
1377035ms thread-0 main.cpp:906 main ] Failed with error: 10 assert_exception: Assert Exception
status_code == 200: Error
: 8 out_of_range_exception: Out of Range
read datastream of length 40 over by -30
{"method":"read","len":40,"over":-30}
thread-0 datastream.cpp:6 throw_datastream_range_error
{"msg":"8 out_of_range_exception: Out of Range\nread datastream of length 40 over by -30\n {\"method\":\"read\",\"len\":40,\"over\":-30}\n thread-0 datastream.cpp:6 throw_datastream_range_error"}
thread-0 httpc.cpp:113 call
{"server":"localhost","port":8888,"path":"/v1/chain/get_table_rows","postdata":{"json":true,"scope":"dbtest","code":"dbtest","table":"test"}}
thread-0 httpc.cpp:117 call