Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- MSRV: 1.89. Build all: `cargo build --workspace --all-features`
- Test all: `cargo test --workspace --all-features` or `./contrib/test.sh` (set `DO_COV=true`, `DO_LINT=true`, `DO_FMT=true` as needed)
- Targeted tests: `cargo test -p dash-spv --all-features`
- Integration RPC: `cd dash-spv && DASH_SPV_IP=<node-ip> cargo test --test integration_real_node_test -- --nocapture`
- FFI iOS builds: `cd key-wallet-ffi && ./build-ios.sh`
- Lint/format: `cargo clippy --workspace --all-targets -- -D warnings` and `cargo fmt --all`
- Docs: `cargo doc --workspace` (add `--open` locally)
Expand Down
7 changes: 0 additions & 7 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ DO_LINT=true ./contrib/test.sh
DO_FMT=true ./contrib/test.sh
```

### Integration Tests
```bash
# Run with real Dash node (requires DASH_SPV_IP environment variable)
cd dash-spv
cargo test --test integration_real_node_test -- --nocapture
```

## Development Commands

### Linting and Formatting
Expand Down
16 changes: 1 addition & 15 deletions dash-spv/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ cargo test
cargo test --test handshake_test
cargo test --test header_sync_test
cargo test --test storage_test
cargo test --test integration_real_node_test

# Run individual test functions
cargo test --test handshake_test test_handshake_with_mainnet_peer
Expand All @@ -69,19 +68,6 @@ cargo test -- --nocapture
cargo test --test handshake_test test_handshake_with_mainnet_peer -- --nocapture
```

**Integration Tests with Real Node:**
The integration tests in `tests/integration_real_node_test.rs` connect to a live Dash Core node at `127.0.0.1:9999`. These tests gracefully skip if no node is available.

```bash
# Run real node integration tests
cargo test --test integration_real_node_test -- --nocapture

# Test specific real node functionality
cargo test --test integration_real_node_test test_real_header_sync_genesis_to_1000 -- --nocapture
```

See `run_integration_tests.md` for detailed setup instructions.

### Code Quality
```bash
# Check formatting
Expand Down Expand Up @@ -201,7 +187,7 @@ Use domain-specific error types:
**Common Debug Commands:**
```bash
# Run with tracing output
RUST_LOG=debug cargo test --test integration_real_node_test -- --nocapture
RUST_LOG=debug cargo test --test test_handshake_with_mainnet_peer -- --nocapture

# Run specific test with verbose output
cargo test --test handshake_test test_handshake_with_mainnet_peer -- --nocapture --test-threads=1
Expand Down
192 changes: 0 additions & 192 deletions dash-spv/run_integration_tests.md

This file was deleted.

Loading
Loading