Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zksync回滚机制优化 #1234

Closed
mdj33 opened this issue Nov 15, 2022 · 1 comment
Closed

zksync回滚机制优化 #1234

mdj33 opened this issue Nov 15, 2022 · 1 comment

Comments

@mdj33
Copy link
Collaborator

mdj33 commented Nov 15, 2022

之前回滚是考虑平行链上设置无效交易,然后从头重新同步平行链达到回滚效果,需要回滚时间长。往往需要回滚时候就是最后几笔交易
优化方案改为记录操作队列,通过设置回滚交易,从最近的操作队列回滚,不需要从头执行区块链

@mdj33
Copy link
Collaborator Author

mdj33 commented Jan 11, 2023

fixed #1235

@mdj33 mdj33 closed this as completed Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant