feat(l1): rpc endpoint debug_traceTransaction
with support for callTracer
#1690
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: L2 Prover | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["**"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
# "Lint" is a required check, don't change the name | |
name: Lint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
# backend: ["sp1", "risc0", "exec"] # TODO: fix Risc0 (https://github.com/lambdaclass/ethrex/issues/2145) | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Add Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: RISC-V SP1 toolchain install | |
run: | | |
curl -L https://sp1.succinct.xyz | bash | |
~/.sp1/bin/sp1up --version 4.1.7 | |
- name: Check sp1 | |
run: | | |
cargo check -p ethrex-prover -F sp1 | |
cargo check -p ethrex-replay -F sp1 | |
- name: Clippy sp1 | |
run: | | |
cargo clippy -p ethrex-prover --all-targets -F sp1 | |
- name: Check exec | |
run: | | |
cargo check -p ethrex-prover | |
- name: Clippy exec | |
run: | | |
cargo clippy -p ethrex-prover --all-targets | |
- name: Check tdx | |
run: | | |
cd crates/l2/tee/quote-gen | |
cargo check | |
- name: Clippy tdx | |
run: | | |
cd crates/l2/tee/quote-gen | |
cargo clippy --all-targets | |
test: | |
# "Test" is a required check, don't change the name | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Rust toolchain install | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: 1.82.0 | |
# TODO(#1974): Restore these steps once we fix risc0 | |
# Use cargo-risczero v1.2.0 | |
# The risc0-zkvm crate should match this version | |
# - name: RISC-V RISC0 toolchain install | |
# run: | | |
# curl -L https://risczero.com/install | bash | |
# ~/.risc0/bin/rzup install | |
# ~/.risc0/bin/rzup install cargo-risczero 1.2.0 | |
# ~/.risc0/bin/rzup default cargo-risczero 1.2.0 | |
# - name: Build prover and RISC0's zkVM | |
# run: | | |
# cd crates/l2/prover | |
# cargo build --release --features build_risc0 | |
# - name: Test Prover Execution | |
# run: | | |
# cd crates/l2/prover | |
# RUST_LOG=info make perf-risc0 | |
- name: RISC-V SP1 toolchain install | |
run: | | |
curl -L https://sp1.succinct.xyz | bash | |
~/.sp1/bin/sp1up --version 4.1.7 | |
- name: Build prover and SP1's zkVM | |
run: | | |
cd crates/l2/prover | |
cargo build --release --features sp1 | |
- name: Test Prover Execution | |
run: | | |
cd crates/l2/prover | |
RUST_LOG=info make perf-sp1 |