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

Error in plugin hardhat-vyper: File should always be found #5463

Closed
pcaversaccio opened this issue Jun 30, 2024 · 3 comments
Closed

Error in plugin hardhat-vyper: File should always be found #5463

pcaversaccio opened this issue Jun 30, 2024 · 3 comments
Assignees

Comments

@pcaversaccio
Copy link
Contributor

Version of Hardhat

2.22.5

What happened?

When I pushed the upgrade to Vyper version 0.4.0 here pcaversaccio/zksync-vyper-sandbox@83b79c8, the compilation started to fail with:

Solidity 0.8.26 is not fully supported yet. You can still use Hardhat, but some features, like stack traces, might not work correctly.

Learn more at https://hardhat.org/hardhat-runner/docs/reference/solidity-support

No need to generate any newer typings.
Compiling contracts for zkSync Era with zkvyper v1.5.1 and vyper v0.4.0
Error in plugin hardhat-vyper: File should always be found

For more info run Hardhat with --show-stack-traces

Minimal reproduction steps

  1. Clone this repo: https://github.com/pcaversaccio/zksync-vyper-sandbox.
  2. pnpm install
  3. pnpm compile

Search terms

vyper, hardhat-vyper

@alcuadrado
Copy link
Member

Thanks for reporting this, @pcaversaccio! And congrats on 0.4.0!

Thanks a ton for fixing it @kiriyaga-txfusion! I'll release this fix right away.

@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Jul 2, 2024
@pcaversaccio
Copy link
Contributor Author

@kiriyaga-txfusion thanks for the fix and @alcuadrado for the quick release. Quickly tested and successfully deployed a 0.4.0 ZKsync Vyper contract here: https://sepolia-era.zksync.network/address/0x0E74203a877C6f681491388Bbd9bde4d0589C8e9#code.

We need to address another issue tho (will open a new issue) re verification of Vyper contracts that use modules. But that's for the other issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants