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

fix(smart-contracts): remove balances from PairInfo & fix minor errors #321

Closed nseguias closed 5 months ago

nseguias commented 5 months ago

Description and Motivation

This PR removes balances from PairInfo, as it doesn't provide any value. The balances are being held in assets already.

The previous branch, release/v2_contracts, had a couple of errors that were shown at compile time that are now fixed.

It also fixes the pool-manager tests that were not passing.

Related Issues

307


Checklist:

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 88.50%. Comparing base (b3cde00) to head (f1fdf5b). Report is 3 commits behind head on release/v2_contracts.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/v2_contracts #321 +/- ## ======================================================== - Coverage 88.50% 88.50% -0.01% ======================================================== Files 252 252 Lines 23604 23602 -2 ======================================================== - Hits 20890 20888 -2 Misses 2714 2714 ```

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