Commit 0c68439
authored
chore(tests-sdk): use shared validator ledger at $HOME/test-ledger (#54)
## Summary
\`solana-test-validator\` defaults to creating \`test-ledger/\` in cwd,
so each repo keeps its own ~150 MB ledger. Switch the
\`validator:start\` script to \`--ledger "\$HOME/test-ledger"\` so this
repo and the sibling \`lazorkit-protocol\` repo share one location.
Also exposes a \`validator:stop\` helper for symmetry — already present
in \`lazorkit-protocol\`'s tests-sdk.
The \`--reset\` flag wipes the ledger on every run, so sequential test
runs across repos still start from a fresh state — there's no
cross-contamination risk from sharing.
## Test plan
- [ ] \`npm run validator:start\` creates / wipes
\`\$HOME/test-ledger\`, not \`tests-sdk/test-ledger\`
- [ ] \`npm test\` passes (65/65 tests on a freshly built devnet binary)1 parent 309af2d commit 0c68439
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments