Skip to content

test: add dynamic fee calculation coverage - #1877

Merged
sublime247 merged 1 commit into
sublime247:mainfrom
afeezorobsco-cyber:test/dynamic-fee-calculations
Aug 28, 2026
Merged

test: add dynamic fee calculation coverage#1877
sublime247 merged 1 commit into
sublime247:mainfrom
afeezorobsco-cyber:test/dynamic-fee-calculations

Conversation

@afeezorobsco-cyber

Copy link
Copy Markdown
Contributor

##close #1841

Summary

Adds unit-test coverage for dynamic fee calculations in the Mobile Money ↔ Stellar Bridge.

Changes

  • Added coverage for normal dynamic fee calculations.
  • Added boundary and amount-based fee tests.
  • Covered rounding and precision behavior.
  • Covered invalid/edge-case inputs where applicable.
  • Added regression coverage for existing expected fee behavior.
  • Uses mocked execution without external network dependencies.

Testing

The tests cover:

  • normal transaction amounts
  • fee boundaries/tiers
  • minimum and larger amounts
  • rounding behavior
  • invalid/edge-case inputs
  • maximum supported values where applicable

Validation

[PASTE TEST COMMAND]
[PASTE LINT COMMAND]
[PASTE CLIPPY COMMAND]
[PASTE FORMAT COMMAND]

@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@afeezorobsco-cyber 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

@afeezorobsco-cyber

Copy link
Copy Markdown
Contributor Author

@sublime247 pls review and merge

@sublime247
sublime247 merged commit d5177b1 into sublime247:main Aug 28, 2026
17 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.

[Testing] Write unit tests for dynamic fee calculations

2 participants