osmosis icon indicating copy to clipboard operation
osmosis copied to clipboard

[tests: CL Hooks]: Implement test contract that returns error and test it

Open AlpinYukseloglu opened this issue 2 years ago • 0 comments

Background

While lower level hook operations are tested for contract-related errors, high level ones are not as outlined in https://github.com/osmosis-labs/osmosis/pull/6859#discussion_r1390678635.

Suggested Design

Create a new CW test contract that only returns an error and then run tests against it.

This will require a minor refactor to CL hook tests to make the reference test contract a test field.

Acceptance Criteria

  • All new and existing tests pass

AlpinYukseloglu avatar Nov 14 '23 04:11 AlpinYukseloglu