node
node copied to clipboard
Make CCTX revert for observation failure case
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
Should we also add https://github.com/zeta-chain/node/issues/4057
as a subtask for this issue