You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We consistently see the issue with the latest ubuntu runner in GH actions, as well as on a linux VM (DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS").
This is not a problem on Mac OS setups.
n3xt-auz
changed the title
Github action linux + hardhat setup deterministically panics
Linux + hardhat + hardhat-network-helpers setup deterministically panics
Aug 9, 2024
Thank you @n3xt-auz. Apparently, this is caused by the combination of interval mining and node:test. Removing interval mining, or using hh test (which uses mocha under the hood) seems to work fine.
Thanks, we've "solved" this on our end to use an OSX runner for now as we rely on automining for our purposes. Appreciate your investigation and moving it to a "to do" 👍🏻 .
Using the following versions
with a pretty straightforward Hardhat configuration:
a simple ERC20 contract with Proxy and running some tests using the
loadFixture()
construct, I reliably get (100+ runs) the following panic:The tests themselves run fine, all of them pass. I have tried running with jest and simple node:assert, always to the same outcome.
Note. I will have a public repo for reproduceability, but this may take me a little while.
The text was updated successfully, but these errors were encountered: