-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathJustfile
More file actions
86 lines (65 loc) · 1.6 KB
/
Justfile
File metadata and controls
86 lines (65 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# List available recipes
default:
@just --list
# Run the full CI suite
ci: fmt clippy test deny
# Run all checks
check: fmt clippy test
# Run tests
test:
cargo nextest run --workspace --all-features
# Build in release mode
build:
cargo build --release
# Build all targets
build-all:
cargo build --all-targets
# Check formatting
fmt:
cargo +nightly fmt --all -- --check
# Fix formatting
fmt-fix:
cargo +nightly fmt --all
# Run clippy
clippy:
cargo clippy --all-targets --all-features -- -D warnings
# Run cargo deny
deny:
.github/ensure-cargo-deny.sh
cargo deny check
# Clean build artifacts
clean:
cargo clean
# Start the devnet with interactive DKG (production-like)
devnet:
cd docker && just devnet
# Start the devnet with trusted dealer DKG (fast, insecure, for local dev)
trusted-devnet:
cd docker && just trusted-devnet
# Stop the devnet
devnet-down:
cd docker && just down
# Reset devnet (clears all state, requires fresh DKG)
devnet-reset:
cd docker && just reset
# View devnet logs
devnet-logs:
cd docker && just logs
# View devnet status
devnet-status:
cd docker && just status
# Live devnet monitoring dashboard
devnet-stats:
cd docker && just stats
# Build docker images
docker-build:
cd docker && just build
# Run load generator against devnet
loadgen *args:
cargo run --release --bin loadgen -- {{args}}
# Quick load test (1000 txs)
loadtest:
cargo run --release --bin loadgen -- --total-txs 1000
# Stress test (10000 txs with 50 accounts)
stresstest:
cargo run --release --bin loadgen -- --total-txs 10000 --accounts 50