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

If apply() function is not declared cdt-cpp returns a wrong error message #12

Open
jolly-fellow opened this issue May 31, 2023 · 0 comments

Comments

@jolly-fellow
Copy link

jolly-fellow commented May 31, 2023

eos-vm is described in its documentation as a general purpose WASM VM, the source code has a no contract declaration, IMHO it is wrong to return this error messages because in this case it doesn't describe the problem.
test_wasm.cpp.gz

cdt-cpp test_wasm.cpp
Warning, empty ricardian clause file
Warning, empty ricardian clause file
wasm-ld: error: fatal failure: contract with no actions and trying to create dispatcher
Exit due to wasm-ld failure

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

1 participant