fix: correct integration tests command in README

The previous command used `cargo run` which fails with:
  error: a bin target must be available for `cargo run`

The correct command is `cargo test -p integration_tests`.
Also removed the unnecessary `cd integration_tests` step since
the -p flag targets the package directly from the repo root.

Fixes #313
This commit is contained in:
ygd58 2026-03-26 07:47:59 +01:00
parent fb083ce91e
commit 24137744da
No known key found for this signature in database
GPG Key ID: 82B49AE8D5B28600

View File

@ -135,9 +135,8 @@ RISC0_DEV_MODE=1 cargo test --release
```bash
export NSSA_WALLET_HOME_DIR=$(pwd)/integration_tests/configs/debug/wallet/
cd integration_tests
# RISC0_DEV_MODE=1 skips proof generation; RUST_LOG=info enables runtime logs
RUST_LOG=info RISC0_DEV_MODE=1 cargo run $(pwd)/configs/debug all
RUST_LOG=info RISC0_DEV_MODE=1 cargo test -p integration_tests --release -- --nocapture
```
# Run the sequencer and node