Skip to main content
Once you’ve fixed a bug, use Prism to ensure it never returns.

Exporting Test Cases

Use the prism export command to turn a failed mainnet transaction into a local unit test.
prism export <tx-hash> --format test

Integrating with CI

Add the exported test cases to your Rust test suite. Prism ensures the test environment perfectly matches the mainnet state where the bug first occurred.