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
When a cctx v2 is being aborted, we can call an onAbort function to allow different type of cleanup.
It is only called if abortAddress is not zero address.
I don't think it is important to add a callOnAbort option, in the protocol we can just try to call the function and ignore it if it fails
Overall workflow is
cctt aborts:
if abortAddress is 0
-> lock remaining amount (current behavior)
if abortAddress defined
-> send remaining funds to abortAddress
-> call onAbort to the address, ignore failure
The text was updated successfully, but these errors were encountered:
Describe the Issue
Depends on #2713 and zeta-chain/protocol-contracts#429
When a cctx v2 is being aborted, we can call an
onAbort
function to allow different type of cleanup.It is only called if
abortAddress
is not zero address.I don't think it is important to add a
callOnAbort
option, in the protocol we can just try to call the function and ignore it if it failsOverall workflow is
The text was updated successfully, but these errors were encountered: