Skip to content

feat: helper functions for verify_openvm_stark #1631

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

Merged
merged 5 commits into from
May 15, 2025

Conversation

nyunyunyunyu
Copy link
Contributor

  • AppExecutionCommit stores u32 instead of BabyBear.
  • Rename E2eStarkProof to VmStarkProof.
  • Add compute_hint_key_for_verify_openvm_stark/encode_rv32_public_values for users to prepare inputs for verify_openvm_stark. But it still seems hard to understand what happens.
  • Improve docs about Rv32HintLoadByKey.

@nyunyunyunyu nyunyunyunyu requested review from jonathanpwang and yi-sun and removed request for yi-sun May 7, 2025 05:40

This comment has been minimized.

@nyunyunyunyu nyunyunyunyu force-pushed the feat/verify-vm-stark branch 2 times, most recently from e539dd3 to 66d85df Compare May 12, 2025 16:44
Base automatically changed from feat/verify-vm-stark to feat/verify_e2e_stark May 12, 2025 22:18
@nyunyunyunyu nyunyunyunyu force-pushed the feat/ux-improve-verify-stark branch from 2355c0c to c43c618 Compare May 12, 2025 22:22

This comment has been minimized.

This comment has been minimized.

@nyunyunyunyu nyunyunyunyu force-pushed the feat/ux-improve-verify-stark branch from 395e9f3 to 492b2a2 Compare May 13, 2025 04:28

This comment has been minimized.

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

lgtm except folder structure

@nyunyunyunyu nyunyunyunyu merged commit 9e45ad1 into feat/verify_e2e_stark May 15, 2025
19 checks passed
@nyunyunyunyu nyunyunyunyu deleted the feat/ux-improve-verify-stark branch May 15, 2025 21:08
Copy link

group app.proof_time_ms app.cycles app.cells_used leaf.proof_time_ms leaf.cycles leaf.cells_used
verify_fibair (-54 [-4.5%]) 1,152 334,006 17,675,666 - - -
fibonacci (+23 [+0.9%]) 2,492 1,500,277 50,589,503 - - -
regex (+28 [+0.4%]) 7,508 4,165,226 166,511,152 - - -
ecrecover (-5 [-0.4%]) 1,381 289,447 14,470,186 - - -
pairing (+46 [+1.0%]) 4,618 1,820,436 95,832,407 - - -

Commit: 56e6d2e

Benchmark Workflow

nyunyunyunyu added a commit that referenced this pull request May 15, 2025
- `AppExecutionCommit` stores `u32` instead of `BabyBear`.
- Rename `E2eStarkProof` to `VmStarkProof`.
- Add
`compute_hint_key_for_verify_openvm_stark`/`encode_rv32_public_values`
for users to prepare inputs for `verify_openvm_stark`. But it still
seems hard to understand what happens.
- Improve docs about `Rv32HintLoadByKey`.
jonathanpwang pushed a commit that referenced this pull request May 16, 2025
- `AppExecutionCommit` stores `u32` instead of `BabyBear`.
- Rename `E2eStarkProof` to `VmStarkProof`.
- Add
`compute_hint_key_for_verify_openvm_stark`/`encode_rv32_public_values`
for users to prepare inputs for `verify_openvm_stark`. But it still
seems hard to understand what happens.
- Improve docs about `Rv32HintLoadByKey`.
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