quasar icon indicating copy to clipboard operation
quasar copied to clipboard

Feat/cl vault prop assertions

Open magiodev opened this issue 1 year ago • 0 comments

1. Overview

Implementing assertions to CL Vault contract proptests.

2. Implementation details

Asserting before and after values retrieved by chain modules / contract using assert macros from Rust testing crates.

3. How to test/use

Run the test inside contracts/cl-vault/test_tube/proptest.rs

4. Checklist

  • [ ] Does the Readme need to be updated?

5. Limitations (optional)

6. Future Work (optional)

Creating more deterministic (less randomic) test cases like forcing the current tick to be in-range, and so on.

magiodev avatar Sep 19 '23 22:09 magiodev