zama-ai / fhevm-hardhat-template

fhEVM hardhat template
MIT License
21 stars 29 forks source link

Frequent failures due to missing contracts #35

Open ferencdg opened 1 month ago

ferencdg commented 1 month ago

Initially the template works okay, but after a while it stops throwing errors like

running pnpm fhevm:start will stop with error: Artifact for contract "fhevm/lib/KMSVerifier.sol:KMSVerifier" not found.

running pnpm test:mock will stop with error: Artifact for contract "fhevm/lib/ACL.sol:ACL" not found

pnpm clean doesn't solve the problem

ferencdg commented 1 month ago

So the issue is that I deleted the 2 source files that come with the template and replaced them with my own source. That means the articact/fhevm was never generated, so I couldn't run any tests... It might be a bug in the template.