Open kiriyaga opened 11 months ago
2.14.0
Hello, so it seems that vyper compile always compile files even when there is no changes. I think that is because we compare vyper pragma version from contract and vyper cache version, which are not same. Check this part of code and that method: https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-vyper/src/index.ts#L259
Do you maybe have some task where you gonna fix that part?
Compile vyper contracts several times.
vyper, cache
I managed to repro the issue, changing issue to status:ready.
Version of Hardhat
2.14.0
What happened?
Hello, so it seems that vyper compile always compile files even when there is no changes. I think that is because we compare vyper pragma version from contract and vyper cache version, which are not same. Check this part of code and that method: https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-vyper/src/index.ts#L259
Do you maybe have some task where you gonna fix that part?
Minimal reproduction steps
Compile vyper contracts several times.
Search terms
vyper, cache