node icon indicating copy to clipboard operation
node copied to clipboard

Make CCTX revert for observation failure case

Open lumtis opened this issue 9 months ago • 1 comments

We recently introduced the inbound observation status allowing to process CCTX in a different way when there is an issue with the inbound

It has been used to abort Bitcoin deposit with insufficient depositor fee but should be extended to all cases of observation failure so:

  • Invalid observation is documented to the user
  • In some case the deposited funds is refunded to the users

This implies in particular for non-EVM chains as we don't have type safety when processing the data on ZetaChain

To investigate and implement:

  • [x] Invalid Bitcoin memo -> https://github.com/zeta-chain/node/pull/3615
  • [ ] Invalid inbound data from Solana
  • [ ] Invalid inbound data from TON
  • [ ] Invalid inbound data from Sui

lumtis avatar Mar 03 '25 13:03 lumtis

Should we also add https://github.com/zeta-chain/node/issues/4057

as a subtask for this issue

kingpinXD avatar Aug 28 '25 21:08 kingpinXD