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

Switch to rapidsnark for enhanced macOS ARM64 compatibility #838

Open
baumstern opened this issue Nov 27, 2023 · 3 comments
Open

Switch to rapidsnark for enhanced macOS ARM64 compatibility #838

baumstern opened this issue Nov 27, 2023 · 3 comments
Assignees
Labels
blocked Task or PR is blocked with something

Comments

@baumstern
Copy link
Member

baumstern commented Nov 27, 2023

Context

rapidsnark, a C++ tool previously incompatible with macOS ARM64, has been updated to support this architecture. We had switched to a WASM verifier(snarkjs) due to this limitation.

Proposal

Given rapidsnark's recent update, I propose we revert to using rapidsnark for macOS ARM64. This change would enhance performance and maintain consistency across platforms.

@ctrlc03 ctrlc03 self-assigned this Jan 19, 2024
@ctrlc03
Copy link
Collaborator

ctrlc03 commented Jan 19, 2024

Seems like rapidsnark is available for ARM chips, though it's not possible yet to compile the c witness on arm chips (or I guess I'm missing something)

@baumstern
Copy link
Member Author

Seems like rapidsnark is available for ARM chips, though it's not possible yet to compile the c witness on arm chips (or I guess I'm missing something)

hmm at least it seems possible to verify with rapidsnark on ARM tho

@ctrlc03
Copy link
Collaborator

ctrlc03 commented Jan 20, 2024

Seems like rapidsnark is available for ARM chips, though it's not possible yet to compile the c witness on arm chips (or I guess I'm missing something)

hmm at least it seems possible to verify with rapidsnark on ARM tho

yup, but we only use rapidsnark for proof generation atm. Probably best to wait until circom releases support so that we can generate proof using rapidsnark on both arm and intel

@ctrlc03 ctrlc03 added the blocked Task or PR is blocked with something label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Task or PR is blocked with something
Projects
Status: Todo
Development

No branches or pull requests

2 participants