ANVIL_SYNC_SEND_TIMEOUT_MS
Documentation for eth_defi.middleware.ANVIL_SYNC_SEND_TIMEOUT_MS data.
- ANVIL_SYNC_SEND_TIMEOUT_MS = 1000
How long, in milliseconds, a send through
AnvilSyncSendMiddlewarewaits for Anvil to mine the transaction before returning the hash anyway.An automined transaction is mined in about 15 ms. The bound only matters when the transaction cannot be mined at once: automining is off, the fork is on interval mining, there is a nonce gap, or a cold fork read is slow. The caller then gets the hash as with a normal send and polls for the receipt as before.