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

Implement optimal range state update for SMT #695

Open
xgreenx opened this issue Mar 11, 2024 · 0 comments
Open

Implement optimal range state update for SMT #695

xgreenx opened this issue Mar 11, 2024 · 0 comments

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Mar 11, 2024

The sparse Merkle tree implements from_set methods that initialize the tree in an optimal way. In the same way, we can create a function that performs a range update reducing the number of going up and down a tree(and interactions with the storage).

It may speed execution of the contracts that updates a lot of storage slots.

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