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

upgrade state-root #80

Open
krlosMata opened this issue Jul 27, 2021 · 1 comment
Open

upgrade state-root #80

krlosMata opened this issue Jul 27, 2021 · 1 comment

Comments

@krlosMata
Copy link
Contributor

Write specification and implementation regarding how to manage proporly the state root upgrade.

First draft

  • Stop rollup features until root is fully upgraded
  • Add function updateRoot which should be called N times, depending on current account numbers and maximum accocunt that the circuit can handle
  • add necessary information in events, so data could be synchronized
  • increase batch number by 1, which would set the updateBatchNumber
  • maintain old functionalities if batch number is < updateBatchNumber
@krlosMata
Copy link
Contributor Author

Summary specification: https://hackmd.io/moApdQkDRBmeBQAF_dQwBw

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