Skip to content

Conversation

@ananas-block
Copy link
Contributor

No description provided.

- Add js/program-test package for running TS tests with LiteSVM
- Migrate test utilities from stateless.js to program-test
- Migrate compressed token tests to use program-test
- Update CI workflows to run LiteSVM-based tests
- Add test-rpc helpers for local testing without validator
- Re-enable V1 tests (remove if: false)
- Add NODE_OPTIONS memory limit (512MB) to test steps only, not builds
- Simplify program caching to cache entire target/deploy directory
- Add explicit cache save step to persist cache even on job failure
- Use combined hash key for all program sources
Replace NobleHasherFactory with WasmFactory from @lightprotocol/hasher.rs
in all test files to match main branch usage. Also add start-prover script
and update test:unit:all scripts to start the prover automatically.

- Move @lightprotocol/hasher.rs from devDependencies to dependencies
- Re-export WasmFactory from hasher/index.ts
- Update all test files to import WasmFactory directly
- Add start-prover script using light CLI
- Update test:unit:all scripts to start/stop prover automatically
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 22, 2026

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (5)
  • wip
  • draft
  • temp
  • test
  • experimental

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch jorrit/chore-ts-tests-litesvm-hasher-rs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants