mirror of
https://github.com/status-im/codex-contracts-eth.git
synced 2025-01-31 02:35:36 +00:00
vault: document setAutomine()
This commit is contained in:
parent
28ad5ced18
commit
f9c2701282
@ -16,6 +16,11 @@ async function revert() {
|
||||
await ethers.provider.send("evm_setAutomine", [automine])
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables or disables Hardhat's automine mode.
|
||||
*
|
||||
* When automine mode is disabled, transactions that revert are silently ignored!
|
||||
*/
|
||||
async function setAutomine(enabled) {
|
||||
await ethers.provider.send("evm_setAutomine", [enabled])
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user