[Dev Tools] Failing hardhat tests after updating to the latest zksync plugin versions #879
-
Team or ProjectSafe EnvironmentTestnet Select the Dev Tool you are usingHardhat Plugins Provide the version of the tool (if applicable)No response Provide a brief description of the functionality you're trying to implement and the issue you are running into.We had a flaky zksync test that would fail 40% of the runs (more likely when running on a slower CPU). We tried to fix it by updating zksync plugins to the latest versions, but our ZkSync tests are failing now. There are multiple types of failures:
Pull request with the change: safe-global/safe-smart-account#898 To reproduce:
Repo Link (Optional)safe-global/safe-smart-account#898 Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello! Thanks for the report. I think there might be a combination of problems here.
If you can pinpoint which tests causes the node to crash locally, it can help with the investigation. |
Beta Was this translation helpful? Give feedback.
-
Hello! There was indeed a race in anvil-zksync, thanks for bringing this to our attention. anvil-zksync v0.2.4 has been released, it should have both bugs fixed. Please try re-running the workflow. Locally you can delete the release cache by running:
After which |
Beta Was this translation helpful? Give feedback.
Hello! There was indeed a race in anvil-zksync, thanks for bringing this to our attention. anvil-zksync v0.2.4 has been released, it should have both bugs fixed. Please try re-running the workflow. Locally you can delete the release cache by running:
rm ~/.cache/hardhat-nodejs/zksync-memory-node/latestRelease.json
rm ~/Library/Application Support/hardhat-nodejs/zksync-memory-node/latestRelease.json
After which
v0.2.4
will be downloaded on your next hardhat test run