The termination check is under-constrained due to incomplete check of "public_values.next_pc == 0".
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
Research direction
Read prover/src/verify.rs around lines 54-94, starting at the termination check for public_values.next_pc == 0. Compare verifier behavior for proofs with one shard and multiple shards, then inspect nearby verification tests or entry points. Done means the single-shard path enforces the same halt-syscall termination condition as the other paths.
Written by the indexing model from the issue text.
Description
The verifier determines whether execution properly invoked the halt syscall by checking if public_values.next_pc == 0, as implemented here:
However, this check is located inside the else branch for i = 0, and is therefore skipped entirely when the proof contains only one shard.
This issue is disclosed with the permission of @johnchandlerburnham.
- Dominant language
- Rust
- Stars
- 80
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from argumentcomputer/sphinx
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
argumentcomputer/sphinx#206 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
argumentcomputer/sphinx#204 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
argumentcomputer/sphinx#188 ·
-
SHA-512 improvements Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
argumentcomputer/sphinx#181 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
argumentcomputer/sphinx#173 ·
All issues in argumentcomputer/sphinx
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·