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

Vyper Support #300

Open
wants to merge 9 commits into
base: dev
from

Conversation

@montyly
Copy link
Member

montyly commented Jul 19, 2019

I am starting a new PR from scratch to add the Vyper support (#191 has been abandoned).

Only the contracts and functions definitions are parsed. For now, the support is minimal; the statements are not parsed (and not converted to slithIR).

I have added a new tool: slither-dependencies, which allows ensuring that all the external contract definitions are correct. Vyper does not support importing files, so the definitions are manually copied pasted, which is error-prone.

@montyly montyly referenced this pull request Jul 19, 2019
@montyly

This comment has been minimized.

Copy link
Member Author

montyly commented Jul 19, 2019

I have added a vyper-specific detector: function-id, which catches this issue that we reported to the vyper team.

For the long run, we need to add for each detector what language (Solidity and/or Vyper) is targeted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.