Skip to content

Conversation

@sisuresh
Copy link
Contributor

@sisuresh sisuresh commented Jan 28, 2026

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends CAP-0080 to add three new host functions for checking curve membership of points. The functions provide a cheaper way for ZK applications to validate that points lie on their respective curves.

Changes:

  • Added three new is_on_curve host functions for BLS12-381 G1, BLS12-381 G2, and BN254 G1
  • Updated the total count of proposed host functions from 6 to 9
  • Added motivation explaining the need for curve membership validation in ZK applications

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

sisuresh and others added 3 commits January 28, 2026 09:48
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sisuresh sisuresh merged commit 69de61f into stellar:master Jan 28, 2026
5 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.

2 participants