Commit 354337cf authored by Sebastian Stammler's avatar Sebastian Stammler Committed by GitHub

txmgr: Disable default batcher tx send timeout (#13284)

With Holocene, batcher transaction ordering has to be strictly preserved, so
trying to send a transaction candidate should just never timeout.
Note that the txmgr will still bump fees to get a transaction for the
same nonce submitted.
parent d949564d
...@@ -79,7 +79,7 @@ var ( ...@@ -79,7 +79,7 @@ var (
MinBaseFeeGwei: 1.0, MinBaseFeeGwei: 1.0,
ResubmissionTimeout: 48 * time.Second, ResubmissionTimeout: 48 * time.Second,
NetworkTimeout: 10 * time.Second, NetworkTimeout: 10 * time.Second,
TxSendTimeout: 10 * time.Minute, TxSendTimeout: 0, // Try sending txs indefinitely, to preserve tx ordering for Holocene
TxNotInMempoolTimeout: 2 * time.Minute, TxNotInMempoolTimeout: 2 * time.Minute,
ReceiptQueryInterval: 12 * time.Second, ReceiptQueryInterval: 12 * time.Second,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment