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

Enable BLS precompiles to support sharding/rollup #110

Open
khoau2u opened this issue Sep 6, 2024 · 0 comments
Open

Enable BLS precompiles to support sharding/rollup #110

khoau2u opened this issue Sep 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@khoau2u
Copy link
Contributor

khoau2u commented Sep 6, 2024

Abstraction
Following EIP-2537, apply on U2U to allow efficient on-chain BLS operations.
Aggregated signatures will allow for bundles or rollups or even shardings.

Motivation
Along with the curve arithmetic, multiexponentiation operations are included to efficiently aggregate public keys or individual signer’s signatures during BLS signature verification.

Constants to enabled
Codebase already included those precompiles and related libraries currently but only enabled for testing.

  • BLS12_G1ADD
  • BLS12_G1MUL
  • BLS12_G1MSM
  • BLS12_G2ADD
  • BLS12_G2MUL
  • BLS12_G2MSM
  • BLS12_PAIRING_CHECK
  • BLS12_MAP_FP_TO_G1
  • BLS12_MAP_FP2_TO_G2

ABI for operations can be viewed in the eip-2537 link.

@khoau2u khoau2u added enhancement New feature or request help wanted Extra attention is needed labels Sep 6, 2024
@khoau2u khoau2u added this to the EIP712 Hardfork milestone Sep 6, 2024
@khoau2u khoau2u self-assigned this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant