scroll-tech / scroll-tech/ceno

negative tests (chip level)

Open
#1,320 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.