White-Whale-Defi-Platform / white-whale-core

Core contracts for White Whale, The Interchain Liquidity Protocol for the Cosmos.
https://whitewhale.money
MIT License
36 stars 23 forks source link

refactor: uses procedural macro to replace the MigrateInvalidVersion on V2 contracts #373

Closed kerber0x closed 3 months ago

kerber0x commented 3 months ago

Description and Motivation

This PR uses the macro from https://crates.io/crates/cw-migrate-error-derive to generate the previous MigrateInvalidVersion across all the V2 contracts.

Related Issues


Checklist:

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.93%. Comparing base (2f40957) to head (6956598). Report is 2 commits behind head on release/v2_contracts.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/v2_contracts #373 +/- ## ======================================================== + Coverage 90.90% 90.93% +0.02% ======================================================== Files 280 280 Lines 31830 31917 +87 ======================================================== + Hits 28936 29023 +87 Misses 2894 2894 ```

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