Skip to content
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

fix: only adding shares created for new liquidity #945

Merged
merged 9 commits into from
Nov 7, 2024

Conversation

dmoka
Copy link
Contributor

@dmoka dmoka commented Nov 7, 2024

Fix bug, as we now in add_liquidity_and_join_farms we deposit all the balance of hte share token of the user.

But we should only deposit the shares generated from the added liqudity.

Copy link

github-actions bot commented Nov 7, 2024

Crate versions that have been updated:

  • runtime-integration-tests: v1.25.0 -> v1.25.1
  • pallet-xyk: v6.6.1 -> v6.6.2
  • pallet-xyk-liquidity-mining: v1.3.0 -> v1.3.1
  • hydradx-runtime: v270.0.0 -> v271.0.0
  • hydradx-traits: v3.8.0 -> v3.9.0

Runtime version has been increased.

@dmoka dmoka merged commit f0d5c91 into master Nov 7, 2024
7 checks passed
@dmoka dmoka deleted the fix/xyk-lm-add-liquidity branch November 7, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants