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
Copy file name to clipboardExpand all lines: universalClient/tss/txresolver/evm.go
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,23 @@ import (
14
14
// 2. If NOT FOUND for maxNotFoundRetries consecutive polls (~5 min): vote failure and REVERT.
15
15
// This covers cases where the tx was dropped from the mempool (gas spike, nonce replaced).
16
16
// 3. If FOUND but not enough confirmations yet: wait (retry next tick).
17
-
// 4. If FOUND with enough confirmations and receipt status == 0 (reverted): vote failure and REVERT.
18
-
// 5. If FOUND with enough confirmations and receipt status == 1 (success): mark COMPLETED, success vote will be done by destination chain event listening.
17
+
// 4. If FOUND with enough confirmations and receipt status == 0 (reverted): vote failure and REVERT
18
+
// with the receipt's block height and tx hash.
19
+
// 5. If FOUND with enough confirmations and receipt status == 1 (success): mark COMPLETED,
20
+
// success vote will be done by destination chain event listening.
19
21
//
20
22
// The failure vote triggers a refund of user funds on Push chain.
23
+
//
24
+
// Observation semantics for the user:
25
+
// - txHash + blockHeight → tx landed on chain (success or revert)
26
+
// - no txHash + no blockHeight → protocol issue (tx dropped, invalid hash, etc.)
0 commit comments