Skip to content
New issue

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

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

Already on GitHub? # to your account

Improve hint hint: add initializes: #4256

Closed
pcaversaccio opened this issue Sep 24, 2024 · 1 comment
Closed

Improve hint hint: add initializes: #4256

pcaversaccio opened this issue Sep 24, 2024 · 1 comment
Assignees
Milestone

Comments

@pcaversaccio
Copy link
Collaborator

Currently, the hint looks like this:

(hint: add initializes: ownable to ...titanoboa-tut/.venv/Lib/site-packages/snekmate/tokens/erc20.vy)

 contract "..../titanoboa-tut/.venv/Lib/site-packages/snekmate/tokens/erc20.vy:82", line 82:0 
       81 #initializes: ownable
  ---> 82 uses: ownable
  --------^

However we should tell users to add the line in the top level contract.

@tserg
Copy link
Collaborator

tserg commented Oct 11, 2024

I think we can close this for now as it seems to be a case of compiling the wrong file.

@charles-cooper charles-cooper closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants