Skip to content

Commit eb17ca3

Browse files
feat: completely removing feature flags with intact mock functionality
1 parent ab8b6e3 commit eb17ca3

File tree

18 files changed

+493
-223
lines changed

18 files changed

+493
-223
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
toolchain: nightly-2025-03-06
2020

2121
- name: Run non-integration tests
22-
run: cargo test --lib --release --features mock_prover -- --skip test_light_client_prover_talking
22+
run: SP1_PROVER=mock cargo test --lib --release -- --skip test_light_client_prover_talking
2323

2424
integration-test:
2525
runs-on: ubuntu-latest
@@ -89,7 +89,7 @@ jobs:
8989
done
9090
9191
- name: Run integration tests
92-
run: cargo test -p prism-tests --lib --release --features mock_prover
92+
run: SP1_PROVER=mock cargo test -p prism-tests --lib --release
9393

9494
unused-deps:
9595
runs-on: ubuntu-latest

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- Build: `just build`
55
- Lint & Check: `just check` (runs cargo udeps and clippy)
66
- Unit tests: `just unit-test`
7-
- Run single test: `cargo test --lib --release --features "mock_prover" -- test_name`
7+
- Run single test: `SP1_PROVER=mock cargo test --lib --release -- test_name`
88
- Integration tests: `just integration-test`
99
- Generate coverage: `just coverage`
1010
- Install dependencies: `just install-deps`
@@ -18,4 +18,4 @@
1818
- Error handling: Use Result types with descriptive error messages
1919
- Naming: follow Rust conventions (snake_case for functions/variables, CamelCase for types)
2020
- Documentation: Add comments for public APIs and complex logic
21-
- File organization: Group related functionality in modules
21+
- File organization: Group related functionality in modules

0 commit comments

Comments
 (0)