-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Currently OZ tests are executed through npx hardhat test
. This runs a substrate-node
and an eth-rpc
in the background, and then runs the tests against it.
The idea is to run several instances of the node at the same time and distribute the workload among them. The problem now is that npx hardhat test
already spins up a node instance, and the tests are being ran against that instance. We'd have to run the tests via a runner such as the one used for matter-labs
, that selects a subset of tests to run and spins up a node exclusive for those. This could be achieved via adding a network
to the hardhat.config
file and using that when running npx hardhat test --network NETWORK
, but further research is needed to confirm this.
Metadata
Metadata
Assignees
Labels
No labels