Skip to content

feat(prover-ray): adds demo using Zesu - #3690

Draft
AlexandreBelling wants to merge 1 commit into
mainfrom
feat/add-tests-using-zesu-and-miniblock
Draft

feat(prover-ray): adds demo using Zesu#3690
AlexandreBelling wants to merge 1 commit into
mainfrom
feat/add-tests-using-zesu-and-miniblock

Conversation

@AlexandreBelling

Copy link
Copy Markdown
Contributor

This PR adds a benchmark for using the tracer and the prover with Zesu.

Signed-off-by: AlexandreBelling <alexandrebelling8@gmail.com>
Copilot AI review requested due to automatic review settings August 3, 2026 09:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces Go benchmarks in prover-ray to measure ZkC-based EVM execution tracing and a full prove+verify cycle, and updates the zkc dependency accordingly.

Changes:

  • Add BenchmarkEvmExecutionTrace (constraint evaluation) and BenchmarkEvmExecutionProveVerify (prove+verify) benchmarks for the EVM execution guest input.
  • Update compileBinaryConstraints to use zkcCfg.GetMaxStaticHeight() when building the ZkC BinaryFile.
  • Bump github.com/LFDT-Lineth/zkc to v1.2.26-0.20260803055626-603a1f9a6bde (and refresh go.sum).

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.

File Description
prover-ray/zkcdriver/zkcdriver_test.go Updates binary constraints compilation to use the new config accessor (GetMaxStaticHeight).
prover-ray/zkcdriver/evm_execution_bench_test.go Adds two benchmarks for tracing and prove+verify using the EVM execution guest input.
prover-ray/go.mod Bumps github.com/LFDT-Lineth/zkc to a newer pseudo-version.
prover-ray/go.sum Updates checksums for the bumped zkc version (and related indirect sum churn).
Suppressed comments (1)

prover-ray/zkcdriver/evm_execution_bench_test.go:66

  • Same as above: this comment claims the input file is not checked in, but testdata/evm_execution_guest.json is present in the repo. Reword to “if missing, generate it …” to keep the instructions accurate.
// The input file is not checked in; generate it with:
//
//	make -C riscv-guests/l2-execution exec   # from the monorepo root

Comment on lines +25 to +27
// The input file is not checked in; generate it with:
//
// make -C riscv-guests/l2-execution exec # from the monorepo root
Comment on lines 61 to 64
return nil, fmt.Errorf("failed to compile zkc source")
}
binfile = constraints.NewBinaryFile[koalabear.Element](nil, nil, zkcField, zkcCfg.GetMaxStaticDepth(), ir)
binfile = constraints.NewBinaryFile[koalabear.Element](nil, nil, zkcField, zkcCfg.GetMaxStaticHeight(), ir)
return binfile, nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants