zeta-chain / node

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

TSS Keygen & Migration from old keys #361

Closed brewmaster012 closed 1 year ago

brewmaster012 commented 1 year ago

This is a multi-step multi-chain operation and critical to security, and probably needs a big Barrier that stops processing new outbound txs and wait for broadcasted txs to be mined and confirmed.

The barrier will wait for all signed & broadcasted txs to confirm (if not, they need to be cancelled).

Question: how does zetacore distinguish between pending txs and broadcasted txs?

Depends on the admin stopping functionality. You need to be able to do certain things during migrations.

Proposed solution

### Tasks
- [ ] https://github.com/zeta-chain/zeta-node/issues/683
- [ ] https://github.com/zeta-chain/node/issues/687
- [ ] https://github.com/zeta-chain/node/issues/1011
- [ ] https://github.com/zeta-chain/node/issues/1026
- [ ] https://github.com/zeta-chain/node/issues/1027
- [ ] https://github.com/zeta-chain/node/issues/1028
- [ ] https://github.com/zeta-chain/node/issues/1052
kingpinXD commented 1 year ago

WIP DOC : https://www.notion.so/zetachain/TSS-Migration-7984ad54a36b43a993154d55fa5b332c?pvs=4