Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
bdf7826
rollback dep of zkvm-prover
noel2004 Nov 25, 2025
9839bf7
prover quit while proving process has panicked
noel2004 Nov 25, 2025
d262a63
Merge remote-tracking branch 'origin/develop' into feat/prover_4.7
noel2004 Nov 25, 2025
dc29c8c
Merge remote-tracking branch 'origin/develop' into feat/prover_4.7
noel2004 Nov 25, 2025
af63bc0
fix wrong configuration
noel2004 Nov 25, 2025
5c2803c
Merge remote-tracking branch 'origin/develop' into feat/prover_4.7
noel2004 Dec 3, 2025
5ae31bc
Merge remote-tracking branch 'origin/develop' into feat/prover_4.7
noel2004 Dec 3, 2025
98be0a0
Merge remote-tracking branch 'origin/develop' into feat/prover_4.7
noel2004 Dec 9, 2025
b244fa8
Merge remote-tracking branch 'origin/develop' into feat/prover_4.7
noel2004 Dec 16, 2025
e852915
update zkvm-prover
noel2004 Dec 16, 2025
b833468
add debug mode, trivial fixings
noel2004 Dec 16, 2025
930a12a
update zkvm-prover dep and openvm to 1.4.2
noel2004 Dec 16, 2025
3b174f8
add test data for mainnet galileo and prune feynman (can not be teste…
noel2004 Dec 16, 2025
74a3d7a
udpate zkvm-prover dep
noel2004 Dec 17, 2025
ede29c7
init dumper
noel2004 Dec 18, 2025
b270d96
dumper
noel2004 Dec 18, 2025
79d79ed
fix
noel2004 Dec 18, 2025
d306b38
fix
noel2004 Dec 18, 2025
03b992f
json mode
noel2004 Dec 18, 2025
492563f
Merge remote-tracking branch 'origin/develop' into feat/zkvm_prover_142
noel2004 Jan 16, 2026
6a57a2e
update dep of zkvm prover and trivial fixing
noel2004 Jan 16, 2026
8955d4f
Merge branch 'feat/zkvm_prover_143' into develop
noel2004 Feb 16, 2026
58297d3
fix e2e tool
noel2004 Feb 19, 2026
b76539b
update test env
noel2004 Feb 19, 2026
93f755c
update dep
noel2004 Feb 20, 2026
252eea9
use galileov2 for cloak test enviroment
noel2004 Feb 20, 2026
a35834d
fix make file in e2e test
noel2004 Feb 20, 2026
e1aa90b
update ZKVM_VERSION
noel2004 Feb 25, 2026
f2a9ba5
upgrade dep
noel2004 Mar 2, 2026
649c441
pump crates version
noel2004 Mar 2, 2026
09d83e1
udpate testing configuration
noel2004 Mar 6, 2026
fafcea4
Merge remote-tracking branch 'origin/develop' into feat/zkvm_prover_143
noel2004 Mar 13, 2026
bbe6c41
update proving-sdk
noel2004 Mar 18, 2026
766aa25
update zkvm-prover with patched openvm 1.4.3
noel2004 Mar 23, 2026
b4ccd70
update zkvm-prover and test stuff
noel2004 Mar 24, 2026
1408430
AI helper: init
noel2004 Feb 25, 2026
343ed78
refine the skill and update makefile
noel2004 Mar 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"env": {},
"companyAnnouncements": [
"Welcome! Here is scroll-tech",
"Just ask me about what can help"
],
"permissions": {
"allow": [
"Bash(pwd)",
"Bash(ls *)",
"Bash(cat *)"
],
"deny": []
}
}
36 changes: 36 additions & 0 deletions .claude/skills/db-query/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: db-query
description: Do query from database for common task
model: sonnet
allowed-tools: Bash(psql *)
---

User could like to know about the status of L2 data blocks and proving task, following is their request:

$ARGUMENTS

(If you find there is nothing in the request above, just tell "nothing to do" and stop)

You should have known the data sheme of our database, if not yet, read it from the `.sql` files under `database/migrate/migrations`.

According to use's request, generate the corresponding SQL expression and query the database. For example, if user ask "list the assigned chunks", it means "query records from `chunk` table with proving_status=2 (assigned)", or the SQL expression 'SELECT * from chunk where proving_status=2;'. If it is not clear, you can ask user which col they are indicating to, and list some possible options.

For the generated SQL, following rules MUST be obey:

+ Limit the number of records to 20, unless user has a specification explicitly like "show me ALL chunks".
+ Following cols can not be read by human and contain very large texts, they MUST be excluded in the SQL expression:
+ For all table, any col named "proof"
+ "header" and "transactions" in `l2_block` table
+ "calldata" in `l1_message`
+ Always omit the `deleted_at` col, never include them in query or use in where condition
+ Without explicit specification, the records should be ordered by the `updated_at` col, the most recent one first.

When you has decided the SQL expression, always print it out.

You use psql client to query from our PostgreSQL db. When launching psql, always with "-w" options, and use "-o" to send all ouput to `query_report.txt` file under system's temporary dir, like /tmp. You MUST NOT read the generated report.

If the psql failed since authentication, remind user to prepare their `.pgpass` file under home dir.

You should have known the endpoint of the database before, in the form of PostgreSQL DSN. If not, try to read it from the `db.dsn` field inside of `coordinator/build/bin/conf/config.json`. If still not able to get the data, ask via Ask User Question to get the endpoint.


9 changes: 9 additions & 0 deletions .claude/skills/integration-test-helper/ProverE2E.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Notes for handling ProverE2E

+ Ensure the `conf` dir has been correctly linked and remind user which path it currently links to.

+ If some files are instructed to be generated, but they have been existed, NEVER refer the content before the generation. They may be left from different setup and contain wrong message for current process.

+ In step 4, if the `l2.validium_mode` is set to true, MUST Ask User for decryption key to fill the `sequencer.decryption_key` field. The key must be a hex string WITHOUT "0x" prefix.

+ Put the final step (`make test_e2e_run`) into background.
62 changes: 62 additions & 0 deletions .claude/skills/integration-test-helper/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
name: integration-test-helper
description: Assist with the process described in the specified directory to prepare or advance integration tests. The target directory and instruction section can be specified, like "tests/prover-e2e test".
model: sonnet
allowed-tools: Bash(make *), Bash(tee *), Bash(jq *)
---

This skill helps launching the full process described in the instructions, also investigate and report the results.

## Target directory

The **target directory** under which the setup process being run is: $ARGUMENTS[0].
Under the target dir there are the stuff and instructions. If the target dir above is empty, just use !`pwd`.

## Instructions

First read `README.md` under target directory, instructions should be under heading named ($ARGUMENTS[1]). If there is no such a heading name, just try the "Test" heading.

In additional, there are two optional places for more knowledge about current instructions:

+ An .md file under current skill dir, named from the top header of the `README.md` file or the name of target directory.
For example, if the target dir is `tests/prover-e2e`, the top header in `README.md` has "ProverE2E", so there may be a .md file named as `prover-e2e.md` or `ProverE2E.md`

+ All files under `experience` path (if it existed) of target dir contains additional experience, which is specialized for current host

## Run each step listed in instructions

The instructions often contain multiple steps which should be completed in sequence. Following are some rules MUST be obey while handling each step:

### "Must do" while executing commands in steps

Any command mentioned in steps should be executed by Bash tool, with following MUST DO for handling the outputs:

+ Redirect the output of bash tool, both from stdout andstderr, into a local log file for investigating later. The file name should be in format as `<desc_of_ccommand>_<day>_<time>.log`
+ Do not read the whole log file. Just investigate the last 50 lines (use "tail -n 50") for possible error message.

It may need to jump to other directories for executing a step. We MUST go back to target directory after every step has been completed. Also, DO NOT change anything outside of target directy.

### When error raised
Command execution should get success return. If error raised while executing, do following process:

1. Try to analysis the reason of error, first from the caught error message. If there is no enough data, grep useful information from the log file of whole output just captured.

2. MUST ASK USER for next action, options are:
+ Retry with resolution derived from error analyst
+ Retry, with user provide tips to resolve the issue
+ Just retry, user has resolved the issue by theirself
+ Stop here, discard current and following steps, do after completion

Error often caused by some mismacthing of configruation in current host. Here are some tips which may help:

* Install the missing tools / libs via packet manager
* Fix the typo, or complete missed fields in configuration files
* Copy missed files, it may be just put in some place of the project or can be downloaded according to some documents.

## After completion

When every step has done, or the process stop by user, make following materials before stop:

+ Package all log files generated before into a tarball and save it in tempoaray path. Then clear all log files.
+ Generate a report file under target directory, with file name like `report_<day>_<time>.txt`.
+ For steps once failed and being resolved later, record the resolution into a file under `experience` path in target dir.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ coverage.txt
sftp-config.json
*~

# AI skills
**/experience

target
zkvm-prover/config.json
zkvm-prover/*.json
7 changes: 7 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The mono repo for scroll-tech's services. See @README.md to know about the project.

Skills has been set to help some process being handled easily. When asked by "what can you help", list following skills, along with the skill-description and invoke cost estimation here:

1. `db-query`: ~$0.1 per query
2. `integration-test-helper` Now ready for following target:
+ `tests/prover-e2e`: ~$1.0 per process
Loading
Loading