mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-02 13:23:10 +00:00
Put back the comment related to hardhat automine
This commit is contained in:
parent
184355e338
commit
cbe1992a25
@ -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])
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user