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
Uusing expectRevert in my hardhat tests. It all was fine until upgrading to the latest version of hardhat, now I get:
@openzeppelin/test-helpers WARN expectRevert: Assertions may yield false negatives!
Revert reason checks are only known to work on Ganache >=2.2.0 and Hardhat, and the current node is HardhatNetwork/2.22.2/@nomicfoundation/edr/0.2.0-dev.
Uusing expectRevert in my hardhat tests. It all was fine until upgrading to the latest version of hardhat, now I get:
@openzeppelin/test-helpers WARN expectRevert: Assertions may yield false negatives!
Revert reason checks are only known to work on Ganache >=2.2.0 and Hardhat, and the current node is HardhatNetwork/2.22.2/@nomicfoundation/edr/0.2.0-dev.
If your node does support revert reasons, please let us know: https://github.com/OpenZeppelin/openzeppelin-test-helpers/issues/new
In my package.json:
"@openzeppelin/test-helpers": "^0.5.16",
"hardhat": "^2.22.2",
With hardhat < 2.19 I think (if I recall correctly) it was all good.
Somehow the test-helpers don't recognize the latest version of hardhat and the hardhat node correctly...
The text was updated successfully, but these errors were encountered: