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

L2 commitments: hash commitments & l2 sync parallelism #26

Merged
merged 7 commits into from
Mar 26, 2024

Conversation

cchudant
Copy link
Member

What is the current behavior?

  • Some hash computations could be done in parallel.

What is the new behavior?

  • Some hash computations are done in parallel

Does this introduce a breaking change?

N/A (project is in alpha)

Other information

  • rayon

@cchudant
Copy link
Member Author

Reworked things around l2 sync too, and a lot more things around commitments
Removed as a whole mutexes which were needed as BonsaiStorage is not thread safe

@cchudant cchudant changed the title L2 commitments: rayonize some hash computations L2 commitments: hash commitments & l2 sync parallelism Mar 26, 2024
@cchudant cchudant marked this pull request as ready for review March 26, 2024 10:52
@antiyro antiyro merged commit ff8dc52 into madara-alliance:main Mar 26, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants