Skip to content

feat: implement dynamic fee estimation using horizon base fee checks - #1885

Merged
sublime247 merged 1 commit into
sublime247:mainfrom
ugoocreates-pixel:feature/dynamic-fee-estimation
Aug 29, 2026
Merged

feat: implement dynamic fee estimation using horizon base fee checks#1885
sublime247 merged 1 commit into
sublime247:mainfrom
ugoocreates-pixel:feature/dynamic-fee-estimation

Conversation

@ugoocreates-pixel

Copy link
Copy Markdown
Contributor

Closes #1823

This PR implements dynamic fee estimation using Horizon base fee checks to ensure system stability, security, and developer ergonomics across the Mobile Money ↔ Stellar Bridge.

Changes

  • Replaced the static fetchBaseFee() with the feeStats() endpoint to utilize dynamic fee estimation based on real-time network conditions.
  • Integrated fee_charged.p90 as a dynamic base fee (with a fallback to last_ledger_base_fee or 100 stroops) to gracefully handle network congestion and avoid transaction failures.
  • Updated the base fee mechanisms across sep31FeeBumpJob, stellarService, and transactions.
  • Updated mock implementations and unit tests in transactions.test.ts to support and validate the new dynamic fee estimation logic.

All tests and linting have passed locally.

@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@ugoocreates-pixel Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@sublime247
sublime247 merged commit 0045b38 into sublime247:main Aug 29, 2026
2 checks passed
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.

[Feature] Implement dynamic fee estimation using Horizon base fee checks

2 participants