Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

table "boards" doesn't exist #2

Open
str11ngfello opened this issue Apr 19, 2018 · 1 comment
Open

table "boards" doesn't exist #2

str11ngfello opened this issue Apr 19, 2018 · 1 comment

Comments

@str11ngfello
Copy link

Hi. Thanks for the game example. I'm running Dawn 3 and the step function complains that table "boards" isn't there. I notice in Dawn 3 examples there's a "@abi table" directive that marks tables. Does this code need to be updated for Dawn 3?

Thanks!

executed transaction: 36e4506e68b95ad84c1d843822eac31aee33868f79417a4e7dc32d3a20b2900b 240 bytes 262144 cycles

lynn <= lynn::step {"user":"lynn","game":"bar"}

Error 3010003: Contract Table Query Exception
Most likely, the given table doesnt' exist in the blockchain.
Error Details:
Table boards is not specified in the ABI
^CLowells-MacBook-Pro:basics lowellduke$

@tbfleming
Copy link
Owner

This is Dawn 3 code, but has a manually-written .abi file instead of directives. Don't use eosiocpp's -g option since it overwrites the .abi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants