-
Notifications
You must be signed in to change notification settings - Fork 226
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
contains invalid WIN32 path characters
#1203
Comments
Hello @pcaversaccio, it appears that the compiler is returning absolute paths for the contracts instead of relative ones. This issue is specific to Vyper version 0.4.0, and we'll need to discuss this with the compiler team so they can resolve it. Thank you for reporting this. |
@kiriyaga-txfusion |
Hi @pcaversaccio, we saw your post on the Hardhat issue page. Thanks for that! This issue is related to that one where hardhat-vyper doesn't support the new vyper version that uses absolute paths instead of relative ones. This is also the case on Windows, but in addition, windows cannot merge paths like linux, causing hardhat-vyper to throw a different error. |
Yeah exactly, that's why I opened an issue specifically there; the |
Our plugin uses hardhat-vyper in the background, and this issue appears due to an invalid artifact save path generated by hardhat-vyper. Yes, we can even contribute on that repo to fix this issue in a shorter time 👍 |
Hello @pcaversaccio , please check the new release of hardhat-vyper version 3.0.7 if you haven't already. This release also fixes an issue we had with win32 paths as described in the issue description. |
Yeah, thanks for this! I successfully deployed a contract here: https://sepolia-era.zksync.network/address/0x0E74203a877C6f681491388Bbd9bde4d0589C8e9#code. We need to address however Vyper contract verification that use the new modules system. Will open a new issue on this one. |
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:Minimal reproduction steps
pnpm install
pnpm compile
The text was updated successfully, but these errors were encountered: