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

Detect missing @init function on compilation #150

Open
vsubhuman opened this issue Sep 8, 2018 · 1 comment
Open

Detect missing @init function on compilation #150

vsubhuman opened this issue Sep 8, 2018 · 1 comment

Comments

@vsubhuman
Copy link
Contributor

Is it possible to detect the absence of the @init() function at the compilation stage? Because for now, an attempt to deploy a contract with no @init just causes the transaction to never be processed with no response returned at all (but I'm not sure it's not an IOHK testnet issue). But having this error on the compilation stage would greatly reduce the feedback time.

@SebastienGllmt
Copy link

This is a subset of an issue I've talked about before which is there is no way to debug why a contract is not well-formed. These kinds of error should

A) Provide an error message
B) Be checked after compiling on Remix

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