Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions executors/src/eip7702_executor/confirm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ where
Eip7702ConfirmationError::TransactionHashError {
message: e.to_string(),
}
.nack(Some(Duration::from_secs(10)), RequeuePosition::Last)
.nack(Some(Duration::from_secs(2)), RequeuePosition::Last)
}
})?;

Expand All @@ -232,7 +232,7 @@ where
return Err(Eip7702ConfirmationError::TransactionHashError {
message: "Transaction not yet confirmed".to_string(),
})
.map_err_nack(Some(Duration::from_secs(2)), RequeuePosition::Last);
.map_err_nack(Some(Duration::from_secs(1)), RequeuePosition::Last);
}
};

Expand All @@ -253,7 +253,7 @@ where
message: format!("Failed to get transaction receipt: {e}"),
inner_error: Some(e.to_engine_error(&chain)),
}
.nack(Some(Duration::from_secs(5)), RequeuePosition::Last)
.nack(Some(Duration::from_secs(1)), RequeuePosition::Last)
})?;

let receipt = match receipt {
Expand All @@ -264,7 +264,7 @@ where
message: "Transaction not mined yet".to_string(),
transaction_hash,
})
.map_err_nack(Some(Duration::from_secs(2)), RequeuePosition::Last);
.map_err_nack(Some(Duration::from_secs(1)), RequeuePosition::Last);
}
};

Expand Down
2 changes: 1 addition & 1 deletion executors/src/eoa/worker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ where

if result.is_work_remaining() {
Err(EoaExecutorWorkerError::WorkRemaining { result })
.map_err_nack(Some(Duration::from_secs(2)), RequeuePosition::Last)
.map_err_nack(Some(Duration::from_millis(200)), RequeuePosition::Last)
} else {
Ok(result)
}
Expand Down