-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: bump deps #7
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7 +/- ##
==========================================
- Coverage 97.10% 96.87% -0.23%
==========================================
Files 18 18
Lines 2732 2788 +56
==========================================
+ Hits 2653 2701 +48
- Misses 79 87 +8
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
These artifacts, except for `astroport_liquidity_manager.wasm`, were downloaded from the Github repository `astroport-core` on the [v2.8.0 release page](https://github.com/astroport-fi/astroport-core/releases/tag/v2.8.0). | ||
|
||
`astroport_liquidity_manager.wasm` was downloaded from the Github repository `astroport-core` on the [v3.6.1 release page](https://github.com/astroport-fi/astroport-core/releases/tag/v3.6.1). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:'(
@@ -352,11 +352,11 @@ fn redeem_both_assets_of_pool(lock_duration: u64) { | |||
vec![ | |||
AssetUnchecked::new( | |||
asset1.clone().into(), | |||
asset1_deposit_amount - Uint128::one(), | |||
asset1_deposit_amount - Uint128::one() - Uint128::one(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why an extra minus one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Astroport Liquidity manager does some weird math and one token gets "refunded" to the liquidity helper contract. I didn't feel it was worth it to further refund that token all the way up the chain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
), | ||
AssetUnchecked::new( | ||
asset2.clone().into(), | ||
asset2_deposit_amount - Uint128::one(), | ||
asset2_deposit_amount - Uint128::one() - Uint128::one(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dito
@@ -253,7 +253,7 @@ fn zap_base_tokens_to_both_assets_of_pool() { | |||
let base_tokens_received = base_token_balance_after_redeem - base_token_balance_before_redeem; | |||
|
|||
let receive_choice = ReceiveChoice::Underlying; | |||
let max_rel_diff = "0.000000001"; // One unit lost due to rounding | |||
let max_rel_diff = "0.000000001"; // One or two units lost due to rounding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do we lose two to rounding?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.