Message: AddToOutTxTracker
The AddToOutTxTracker
handler is responsible for adding transaction hashes to the output transaction tracker based on the chain and a nonce. It first ensures that the caller is a bonded validator or the admin address, then either adds a new entry into the tracker or updates the hash list if the nonce is already known.
The out tracker is used by the zeta clients to check and report the success of the outgoing transaction back to the zeta core.
The ChainId
must be a known chain, the Nonce
can be any uint64
, and the TxHash
can be any string.
Since any bonded validator is allowed to add a transaction to the tracker, it is possible for a malicious validator to trigger the revert flow even if the outgoing transaction was successful (see ).