Skip to content

fix: add fallback price for global rate limiter - #1427

Merged
enthusiastmartin merged 14 commits into
masterfrom
fix/fallback-price-in-global-limit
May 9, 2026
Merged

fix: add fallback price for global rate limiter#1427
enthusiastmartin merged 14 commits into
masterfrom
fix/fallback-price-in-global-limit

Conversation

@dmoka

@dmoka dmoka commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

external-asset withdraw/XCM returned FailedToConvertAsset whenever the oracle route was missing.

Adding onchain route is a quick fix, but better to add conversion using the fallback price if no oracle price can be retrieved

@dmoka
dmoka marked this pull request as ready for review April 21, 2026 10:19
@github-actions

github-actions Bot commented Apr 21, 2026

Copy link
Copy Markdown

Crate versions that have been updated:

  • runtime-integration-tests: v1.80.1 -> v1.81.0
  • hydradx-runtime: v413.0.0 -> v414.0.0

Runtime version has been increased.

@F3Joule
F3Joule self-requested a review April 21, 2026 11:34
Comment thread runtime/hydradx/src/circuit_breaker.rs Outdated
F3Joule
F3Joule previously approved these changes Apr 21, 2026

@F3Joule F3Joule left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@F3Joule
F3Joule dismissed their stale review April 29, 2026 10:49

Reference currency generic is better to be removed making cod less abstract and more straightforward due to no need for other ref currency than HDX for now.

…port hdx as reference price so the design is more strict and safe
@dmoka
dmoka requested a review from F3Joule April 29, 2026 11:47
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

Quick benchmark at commit 13edaad has been executed successfully.
View results

@enthusiastmartin
enthusiastmartin merged commit ee559bc into master May 9, 2026
10 checks passed
@enthusiastmartin
enthusiastmartin deleted the fix/fallback-price-in-global-limit branch May 9, 2026 08:18
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.

3 participants