scroll-tech / scroll-tech/ceno
negative tests (chip level)
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 153
- Forks
- 43
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 4
Description
Goal: add chip level negative tests.
That is, execute several opcodes and generate valid trace, then tamper the witness matrix (e.g. assign wrong value to rd). The test should catch verification error.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the existing chip-level tests and the code that generates traces and verifies the witness matrix. Run those tests to understand the expected valid path, then add a case that executes several opcodes, tampers a witness value such as rd, and confirms verification reports an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cryptography, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100