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

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

No branches or pull requests

1 participant