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

refactor: zkquiz setup and testing locally/devnet #1153

Merged
merged 21 commits into from
Oct 8, 2024

Conversation

MarcosNicolau
Copy link
Collaborator

Changes
This pr refactors zkquiz example so that testing it locally becomes easier.

Testing
To test this, you can follow this guide.

@MarcosNicolau MarcosNicolau self-assigned this Oct 2, 2024
Copy link
Contributor

@uri-99 uri-99 left a comment

Choose a reason for hiding this comment

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

Also, currently batches must be at least size 2. If you only send this proof, the batch will not be finalized by the batcher. If it is a local devnet example, you could send this proof twice to make the batch finalize, or clarify that the user must in parallel send another proof (such as make batcher_send_risc0_burst)

examples/zkquiz/quiz/script/src/main.rs Outdated Show resolved Hide resolved
examples/zkquiz/quiz/script/src/main.rs Outdated Show resolved Hide resolved
examples/zkquiz/quiz/script/src/main.rs Outdated Show resolved Hide resolved
@MarcosNicolau MarcosNicolau force-pushed the refactor-zk-quiz-testing branch from ebd81ae to 5242061 Compare October 4, 2024 16:00
@MarcosNicolau MarcosNicolau requested a review from uri-99 October 4, 2024 16:08
@entropidelic
Copy link
Contributor

left a small comment on the readme, but aside from that it looks good!

Copy link
Contributor

@uri-99 uri-99 left a comment

Choose a reason for hiding this comment

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

sending only 1 proof doesn't work

Copy link
Contributor

@uri-99 uri-99 left a comment

Choose a reason for hiding this comment

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

fixed

@entropidelic entropidelic merged commit 54cabea into staging Oct 8, 2024
2 checks passed
@entropidelic entropidelic deleted the refactor-zk-quiz-testing branch October 8, 2024 15:21
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.

3 participants