Skip to content
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ad1a393
Add CI workflow for building SP1 env, clippy and compilator verification
pmikolajczyk41 Mar 31, 2026
59397bb
Add new crate (program). Register it in the workspace
pmikolajczyk41 Mar 31, 2026
c904959
Add sp1 deps to workspace (with patching)
pmikolajczyk41 Mar 31, 2026
69cb5b2
Flatten source files
pmikolajczyk41 Mar 31, 2026
289d9b3
Add runner crate to the workspace
pmikolajczyk41 Mar 31, 2026
6035952
Remove features from workspace-level declaration
pmikolajczyk41 Mar 31, 2026
ba4f581
Patch deps
pmikolajczyk41 Mar 31, 2026
92a38a1
Use wasmer branch
pmikolajczyk41 Mar 31, 2026
421053b
Add unsafe impl<T> Send for ForceSync<T> {}
pmikolajczyk41 Mar 31, 2026
fca3c79
make structopt optional
pmikolajczyk41 Mar 31, 2026
3b0868f
kzg feature on prover
pmikolajczyk41 Mar 31, 2026
e2b81b4
Install protoc in basic setup
pmikolajczyk41 Apr 1, 2026
315a39c
Build runner before clippy
pmikolajczyk41 Apr 1, 2026
c0bc242
changelog
pmikolajczyk41 Apr 1, 2026
2047926
add kzg to prover-ffi
pmikolajczyk41 Apr 1, 2026
f46a540
Do not run clippy on SP1 crates in standard pipeline
pmikolajczyk41 Apr 1, 2026
1a38dda
Add build script
pmikolajczyk41 Apr 1, 2026
24659f7
Add brotli_cmake_patch.txt
pmikolajczyk41 Apr 1, 2026
d270b36
Add features, do not install sp1 outside build script
pmikolajczyk41 Apr 1, 2026
c7521d6
Install full sp1 in build.sh
pmikolajczyk41 Apr 2, 2026
762fee3
fmt
pmikolajczyk41 Apr 2, 2026
9b27233
Missing paths in build.rs
pmikolajczyk41 Apr 2, 2026
e083dc5
Restore build.sh
pmikolajczyk41 Apr 2, 2026
9f091b9
clippy
pmikolajczyk41 Apr 2, 2026
76a4112
Merge remote-tracking branch 'origin/master' into pmikolajczyk/nit-47…
pmikolajczyk41 Apr 7, 2026
6f6ff2f
Restore CMakeLists
pmikolajczyk41 Apr 7, 2026
f41c734
AND -> OR
pmikolajczyk41 Apr 7, 2026
0588397
Add comments for unsafe
pmikolajczyk41 Apr 7, 2026
6f04660
Add missing `make build-replay-env test-go-deps`
pmikolajczyk41 Apr 8, 2026
98d4d19
Merge branch 'master' into pmikolajczyk/nit-4729-stylus-compiler
pmikolajczyk41 Apr 8, 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
2 changes: 1 addition & 1 deletion .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:

steps:
- name: Install dependencies
run: sudo apt update && sudo apt install -y wabt gotestsum
run: sudo apt update && sudo apt install -y wabt gotestsum protobuf-compiler
shell: bash

- name: Setup Node.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_rust-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: make build-replay-env

- name: Clippy check
run: cargo clippy --all -- -D warnings -A static_mut_refs
run: cargo clippy --workspace --exclude stylus-compiler-program --exclude stylus-compiler-runner -- -D warnings -A static_mut_refs

- name: Run rust tests
id: run-rust-tests
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/zk-proving.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: ZK CI

on:
workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ github.ref }}
cancel-in-progress: true

jobs:
zk-proving:
name: Run tests for ZK-related components and pipelines
runs-on: arbitrator-ci
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive

- name: Setup CI
uses: ./.github/actions/ci-setup

- name: Setup LLVM
uses: ZhongRuoyu/setup-llvm@v0
with:
llvm-version: 21

- name: Build SP1 crates
run: ./crates/sp1/build.sh

# Clippy runs after build because sp1-builder uses include_elf!(),
# which requires the SP1 ELF to exist at compile time.
- name: Clippy check (SP1 crates)
run: cargo clippy -p stylus-compiler-program -p stylus-compiler-runner -- -D warnings -A static_mut_refs -A clippy::too_many_arguments

- name: Run stylus-compiler-runner compare
# Compare compilation consistency between running it natively and in the SP1 execution mode.
run: cargo run -p stylus-compiler-runner --release -- compare
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
[submodule "crates/tools/wasmer"]
path = crates/tools/wasmer
url = https://github.com/OffchainLabs/wasmer.git
branch = zk-prove-any/sp1-runner
[submodule "nitro-testnode"]
path = nitro-testnode
url = https://github.com/OffchainLabs/nitro-testnode.git
Expand Down
Loading
Loading