osmosis
osmosis copied to clipboard
[tests: CL Hooks]: Implement test contract that returns error and test it
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