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
Hardhat Upgrades plugin supports Hardhat tests in --parallel mode as of this release. When used with this Forta contracts repository, this results in a 3-4x improvement in test run time.
This requires the following npm packages and versions:
@openzeppelin/[email protected] or later (which is a dependency of @openzeppelin/hardhat-upgrades)
Note that this fork is based on an older commit, and also that hardhat-gas-reporter does not support the --parallel flag.
However, parallel tests reduces test time from around 3 minutes to less than a minute, so this is something that could save a lot of overhead if used frequently.
The text was updated successfully, but these errors were encountered:
Hardhat Upgrades plugin supports Hardhat tests in --parallel mode as of this release. When used with this Forta contracts repository, this results in a 3-4x improvement in test run time.
This requires the following npm packages and versions:
@openzeppelin/[email protected]
or later (which is a dependency of@openzeppelin/hardhat-upgrades
)[email protected]
or laterHere is an example fork of the forta-contracts repository that demonstrates this:
https://github.com/ericglau/forta-contracts/tree/parallel
Note that this fork is based on an older commit, and also that
hardhat-gas-reporter
does not support the--parallel
flag.However, parallel tests reduces test time from around 3 minutes to less than a minute, so this is something that could save a lot of overhead if used frequently.
The text was updated successfully, but these errors were encountered: