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

Fix regressed performance in BLS MUL precompiles #1053

Open
chfast opened this issue Oct 14, 2024 · 0 comments
Open

Fix regressed performance in BLS MUL precompiles #1053

chfast opened this issue Oct 14, 2024 · 0 comments
Labels
Prague Changes for Prague upgrade precompiles Related to EVM precompiles

Comments

@chfast
Copy link
Member

chfast commented Oct 14, 2024

If the scalar passed to BLST is not less than the subgroup order, BLST switches the multiplication algorithm to a slower one. Fix this by reducing the scalar if needed.

@chfast chfast added precompiles Related to EVM precompiles Prague Changes for Prague upgrade labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prague Changes for Prague upgrade precompiles Related to EVM precompiles
Projects
None yet
Development

No branches or pull requests

2 participants
@chfast and others