Skip to content

Add support for onAbort hook #63

Open
@lumtis

Description

Will depend on zeta-chain/node#3211

Once onAbort is supported we should replicate the same behavior on the localnet:

  • If revert fails, the CCTX is aborted
    • If abortAddress == null nothing happen (in the protocol this is the current behavior where a admin message must be used for refund)
    • If callOnAbort == false and abortAddress == 0xaaa, value is refunded to 0xaaa on ZetaChain
    • If callOnAbort == true and abortAddress == 0xaaa, value is sent to 0xaaa and onAbort function is called on 0xaaa

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions