zeta-chain / node

ZetaChain’s blockchain node and an observer validator client
https://zetachain.com
MIT License
167 stars 109 forks source link

Support advanced abort handling #3211

Open lumtis opened 4 days ago

lumtis commented 4 days ago

Describe the Issue

To increase the flexibility for developers we should define advanced abort handling logic that allow to define a last fallback for CCTX workflow (when even the revert fails) this add a layer of security to prevent loss of funds and have a recovery logic that is guaranteed to be called.

This EPIC list issues for this idea

### Tasks
- [ ] https://github.com/zeta-chain/node/issues/2713
- [ ] https://github.com/zeta-chain/node/issues/3168
- [ ] https://github.com/zeta-chain/node/issues/3210
- [ ] https://github.com/zeta-chain/protocol-contracts/issues/429