Skip to content

pedersen tests nexus#5

Draft
jonesmarvin8 wants to merge 3 commits into
mainfrom
nexus-bench
Draft

pedersen tests nexus#5
jonesmarvin8 wants to merge 3 commits into
mainfrom
nexus-bench

Conversation

@jonesmarvin8
Copy link
Copy Markdown

@jonesmarvin8 jonesmarvin8 commented Jul 4, 2025

Add Pedersen commitment checks to the RISC0:

  • bls12-381
  • bn254
  • curve25519
  • jubjub
  • pallas
  • secp256k1
  • vesta
  • nullifier

TODO:

  • shift 'public parameters' to host program
  • add benchmark code

includes: bn254, pallas, vesta, jubjub, curve25519
Fixes to jubjub, curve25519 and bls-12 381 tests
@jonesmarvin8
Copy link
Copy Markdown
Author

Pallas and Vesta tests both throws the following issue:

vesta_nexus_issue

This issue occurs if the guest program is Nexus' default hello-world and the unused crate pasta_curves is included in guest's cargo.

@jonesmarvin8
Copy link
Copy Markdown
Author

Nullifier_test and ped_secp256k1_test throw 200+ errors. This appears to be based on how Nexus interprets rust code rather than the guest code itself.

@jonesmarvin8
Copy link
Copy Markdown
Author

This test could be dropped

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.

1 participant