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

feat(revme): format kzg setup #818

Merged
merged 10 commits into from
Oct 19, 2023
Merged

feat(revme): format kzg setup #818

merged 10 commits into from
Oct 19, 2023

Conversation

rakita
Copy link
Member

@rakita rakita commented Oct 19, 2023

Add the cli command ./revme format-kzg-setup trusted_setup.txt that takes standard kzg trusted setup and formats it into two binary files (g1 and g2 points). These formatted binaries are smaller in size and have the same functionality.

The main formatting function that takes string is moved to revm-primitives so it can be reused if needed. Removed "generated" file as the idea is to just load binary file straight from the files.

Refactored the revme commands so the crate is more structured.

Closes #686
Supersedes #738

@rakita rakita merged commit 8f17241 into main Oct 19, 2023
@rakita rakita deleted the format_kzg_setup branch October 23, 2023 16:36
@github-actions github-actions bot mentioned this pull request Jan 12, 2024
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.

Move eip4844 points build script to helper fn
2 participants