ethereum-optimism / ethereum-optimism/optimism

kona-sp1: Implement simple low-hanging-fruit zkvm optimizations

Open
#21,670 0 comments 0 reactions 0 assignees View on GitHub
proofs: ZK
Dominant language
Go
Stars
6.5k
Forks
4k
Avg merge
2d 15h
Merged PRs (30d)
145

Description

Doing things like calling `mem::forget` to leak values instead of `Drop`ping them, minimizing the amount of `clone()` and `Copy` calls performed. Should accompany a cycle count comparison to know the expected impact.

Contributor guide

Open the contributing guide

Research direction

Start by locating the kona-sp1 zkVM code and its cycle-count comparison tooling. Inspect the paths involving Drop, mem::forget, clone(), and Copy, then compare cycle counts before and after the targeted optimizations. Done means the selected low-cost changes are implemented and their expected impact is recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.