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

Add Ethereum BLS Signature verification tests #95

Closed

Conversation

petscheit
Copy link
Contributor

Adds a cairo program that can verify Ethereum beacon chain signatures. The ethereum test contains a valid block from the sepolia testnet.

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Testing
  • Other (please describe):

Does this introduce a breaking change?

  • Yes
  • No

Other information


// This I cant get to work.
// Always get this error: /garaga/src/bls12_381/g1.cairo:39:21: Cannot cast 'src.bls12_381.g1.G1Point' to 'felt'. local res = G1Point(&x, &y);
// local g1_gen_fix: G1Point = g1.get_g1_generator();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@feltroidprime Any idea why this one isn't working? I get the same with G2 also

@feltroidprime
Copy link
Collaborator

Closing as using deprecated lib

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.

None yet

2 participants