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: set route validation for lower liquidity pools #789

Merged
merged 22 commits into from
Mar 18, 2024

Conversation

dmoka
Copy link
Contributor

@dmoka dmoka commented Mar 15, 2024

  • Return the specific error when route validation fails
  • Fix bug of inconsistent intermediate assets
  • Fix set route validation to use the lowest asset liqudity as reference
  • Add test for the new validation logic where inverse route is broken
  • Add set route without validation to be called by TE
  • Adjust documentation
  • rebenchmark as there is a new extrinsic, and add this benchmark method the the extrinsic
  • Test failing PROD cases if they are really solved

Copy link

github-actions bot commented Mar 15, 2024

Crate versions that have been updated:

  • runtime-integration-tests: v1.19.9 -> v1.19.10
  • pallet-dca: v1.4.0 -> v1.4.1
  • pallet-route-executor: v2.1.0 -> v2.2.0
  • hydradx-adapters: v1.2.4 -> v1.2.5
  • hydradx-runtime: v223.0.0 -> v224.0.0
  • hydradx-traits: v3.1.0 -> v3.1.1

Runtime version has been increased.

@mrq1911 mrq1911 changed the title fix: router set route validation fix: set route validation for lower liquidity pools Mar 15, 2024
@dmoka dmoka marked this pull request as ready for review March 18, 2024 11:42
@dmoka dmoka self-assigned this Mar 18, 2024
@mrq1911 mrq1911 merged commit a0c524a into master Mar 18, 2024
6 checks passed
@dmoka dmoka deleted the fix/router-set-route-validation branch March 18, 2024 18:59
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