Skip to content

CCTXs are aborted if an omnichain smart contract call fails at the post tx phase #2037

@lumtis

Description

@lumtis

Describe the Issue
The cctx is reverted if the smart contract call revert but abort if parsing the events emitted by this smart contract fail (in the post tx hook).
Example: https://zetachain.blockpi.network/lcd/v1/public/zeta-chain/crosschain/in_tx_hash_to_cctx_[…]f3612016d05f11ac995eddce5de8f8b0d37dfaf678d9b19e468e1c39

The emissions of these events is controlled by the end-user, therefore aborting the CCTX under these conditions decrease the user friendliness.

Solution
We need to investigate the current workflow causing the abort and consider changing the logic to use revert in case of post tx hook fail

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions