scroll-tech / scroll-tech/ceno

Advanced error handling

Open
#391 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

debugging tool
Dominant language
Rust
Stars
153
Forks
43
Avg merge
3d 13h
Merged PRs (30d)
4

Description

Introduce a library that makes error handling more convenient and reports more debug information.

  • Currently anyhow is used in some places like ceno_emul. Another good choice is eyre. Pick one.
  • Revisit existing error types (ZKVMError) and add context or backtraces.
  • Revisit core code that has only error messages but should use error types.

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 reviewing the existing error handling in ceno_emul, the ZKVMError type, and core code that currently exposes only error messages. Compare anyhow and eyre, then identify the error types and context or backtrace behavior that need agreement. Done means a chosen library is integrated consistently and the affected error paths provide the intended typed information.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.