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

renegade_contracts: verifier, darkpool: multiverifier contract #81

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

akirillo
Copy link
Contributor

@akirillo akirillo commented Sep 1, 2023

This PR refactors the verifier to manage multiple circuits in a single contract, which bubbles up to the darkpool such that the verifier can be invoked via library calls as opposed to needing to deploy multiple verifier contracts.

All Cairo tests pass, but e2e tests still need to be updated to reflect these changes.

Also, I removed Pedersen generators from contract storage since we consistently use the STARK ECDSA generator everywhere

@akirillo akirillo added the refactor Reworking or improving existing code label Sep 1, 2023
@akirillo akirillo self-assigned this Sep 1, 2023
@akirillo akirillo force-pushed the andrew/multi-verifier-library-contract branch from a91470d to 7d35e1a Compare September 1, 2023 19:13
src/verifier.cairo Outdated Show resolved Hide resolved
@akirillo akirillo force-pushed the andrew/multi-verifier-library-contract branch from 7d35e1a to ee3089a Compare September 1, 2023 21:18
@akirillo akirillo merged commit 8e9dcf0 into main Sep 1, 2023
1 check passed
@akirillo akirillo deleted the andrew/multi-verifier-library-contract branch September 1, 2023 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Reworking or improving existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants