many-things / cw-hyperlane

52 stars 26 forks source link

Add mailbox unit tests for post dispatch #91

Closed yorhodes closed 9 months ago

yorhodes commented 9 months ago

Replay https://github.com/hyperlane-xyz/cosmwasm/pull/7 upstream

The mailbox doesnt enforce default hook fees following https://github.com/many-things/cw-hyperlane/pull/86 This PR adds unit tests to the new mailbox behavior and ensures that required hook fees are appropriately enforced

codecov-commenter commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (aa5539e) 67.66% compared to head (2682b71) 67.76%.

Files Patch % Lines
contracts/core/mailbox/src/execute.rs 95.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #91 +/- ## ========================================== + Coverage 67.66% 67.76% +0.09% ========================================== Files 87 87 Lines 5224 5234 +10 Branches 5224 5234 +10 ========================================== + Hits 3535 3547 +12 + Misses 1301 1299 -2 Partials 388 388 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.