Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant