Put back the comment related to hardhat automine

This commit is contained in:
Arnaud 2025-05-19 11:44:21 +02:00
parent 184355e338
commit cbe1992a25
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -24,6 +24,11 @@ async function revert() {
}
}
/**
* Enables or disables Hardhat's automine mode.
*
* When automine mode is disabled, transactions that revert are silently ignored!
*/
async function setAutomine(enabled) {
await provider.send("evm_setAutomine", [enabled])
}