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

extend rollupDB #22

Open
krlosMata opened this issue May 27, 2021 · 2 comments
Open

extend rollupDB #22

krlosMata opened this issue May 27, 2021 · 2 comments
Labels
enhancement New feature or request new feature new feature

Comments

@krlosMata
Copy link
Contributor

RollupDB should be extended to fully support massive-migrations.
Therefore, the following procedures should be implemented:

processBatchMigrate: mimics migrate circuit logic to insert new leafs into the state-tree

Possible implementation

Add new function in rollupDB: buildBatchMigration

@krlosMata krlosMata added enhancement New feature or request new feature new feature labels May 27, 2021
@krlosMata
Copy link
Contributor Author

This has been implemented partially in order to perform circuit test in https://github.com/hermeznetwork/circuits/blob/feature/upgrade-state-root/js/upgrade-db.js

@krlosMata
Copy link
Contributor Author

This has been coded in https://github.com/hermeznetwork/commonjs/tree/feature/updateDb
note: test are missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature new feature
Projects
None yet
Development

No branches or pull requests

1 participant