File tree Expand file tree Collapse file tree
batcher/aligned-batcher/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1468,7 +1468,7 @@ impl Batcher {
14681468 }
14691469 }
14701470
1471- /// Sends a `create_new_task` transaction to Ethereum and waits for a maximum of 3 blocks for the receipt.
1471+ /// Sends a `create_new_task` transaction to Ethereum and waits for a maximum of 8 blocks for the receipt.
14721472 /// Retries up to `ETHEREUM_CALL_MAX_RETRIES` times using exponential backoff on recoverable errors while trying to send the transaction:
14731473 /// (0,5 secs - 1 secs - 2 secs - 4 secs - 8 secs).
14741474 /// `ReceiptNotFoundError` is treated as non-recoverable, and the transaction will be canceled using `cancel_create_new_task_tx` in that case.
@@ -1519,7 +1519,7 @@ impl Batcher {
15191519
15201520 /// Sends a transaction to Ethereum with the same nonce as the previous one to override it.
15211521 /// Retries on recoverable errors with exponential backoff.
1522- /// Bumps the fee if not included in 3 blocks, using `calculate_bumped_gas_price`.
1522+ /// Bumps the fee if not included in 6 blocks, using `calculate_bumped_gas_price`.
15231523 /// In the first 5 attemps, bumps the fee every 3 blocks. Then exponential backoff takes over.
15241524 /// After 2 hours (attempt 13), retries occur hourly for 1 day (33 retries).
15251525 pub async fn cancel_create_new_task_tx ( & self , old_tx_gas_price : U256 ) {
Original file line number Diff line number Diff line change 1818batcher :
1919 block_interval : 3
2020 batch_size_interval : 10
21- transaction_wait_timeout : 36000 # 3 blocks
21+ transaction_wait_timeout : 96000 # 8 blocks
2222 max_proof_size : 67108864 # 64 MiB
2323 max_batch_byte_size : 268435456 # 256 MiB
2424 max_batch_proof_qty : 3000 # 3000 proofs in a batch
Original file line number Diff line number Diff line change 1818batcher :
1919 block_interval : 3
2020 batch_size_interval : 10
21- transaction_wait_timeout : 36000 # 3 blocks
21+ transaction_wait_timeout : 96000 # 8 blocks
2222 max_proof_size : 67108864 # 64 MiB
2323 max_batch_byte_size : 268435456 # 256 MiB
2424 max_batch_proof_qty : 3000 # 3000 proofs in a batch
You can’t perform that action at this time.
0 commit comments