You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2026. It is now read-only.
/// Waits for the transaction to confirm with the given number of confirmations.
///
/// See:
/// - [`register`](Self::register): for registering the transaction without waiting for it to be
/// confirmed.
/// - [`get_receipt`](Self::get_receipt) for fetching the receipt after the transaction has been
/// confirmed.
pub async fn watch(self) -> Result<TxHash, PendingTransactionError> {
self.register().await?.await
}
When making a mainnet USDT swap between AVAX and Base, my transaction got stuck and I saw the following in the solver logs:
Restarting the solver caused a
nonce too lowerror which then resolved itself after a few blocks.I think this is because the solver
watches without waiting for confirmations:dcipher/bin/onlyswaps-solver/src/executor.rs
Line 67 in 3ba2892
Quoting the comment for
watch: