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

Support Vyper contracts #822

Open
0xOzy42 opened this issue Jun 20, 2023 · 1 comment
Open

Support Vyper contracts #822

0xOzy42 opened this issue Jun 20, 2023 · 1 comment

Comments

@0xOzy42
Copy link

0xOzy42 commented Jun 20, 2023

I'm trying to deploy an upgradable vyper contract, and to check if the implementation of this contract is safe before deployment. But when i run the validateImplementation with the ethers.ContractFactory associated to my vyper contract i have this error:

Error: The requested contract was not found. Make sure the source code is available for compilation

There is an option for vyper contracts, or it's simply not available with the plugin ? (seems that it only target .sol contract)

@ericglau
Copy link
Member

ericglau commented Jun 28, 2023

Vyper contracts are not currently supported with the plugins. The Vyper compiler's output format and storage layout description are different than Solidity's.

If anyone would like to see this supported with the plugins, feel free to comment further and let us know what use cases you are interested in (e.g. proxy deployments and/or upgrade safety validations).

@ericglau ericglau changed the title validateImplementation for Vyper contract doesn't work Support Vyper contracts Jun 28, 2023
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