Skip to content

Enforce minimum payment amount in record_payment() #111

Closed

Description

@phertyameen

Issue #13: Enforce minimum payment amount in record_payment()

Category: EphemeralAccount
Repo: bridgelet-core (Soroban / Rust)

Description

Add a min_amount: i128 parameter to initialize(). In record_payment(), reject payments below the minimum with Error::PaymentBelowMinimum. Prevents spam/dust attacks.

Acceptance Criteria

  • Rust implementation complete
  • cargo test passing
  • Integration test on local Stellar sandbox passing
  • Docs updated (docs/ or inline rustdoc)
  • Reviewed and merged

Activity

  1. GEEKYFOCUS commented on Jun 23, 2026

    @GEEKYFOCUS

    @GEEKYFOCUS has applied to work on this issue as part of the Stellar Wave Program's 6th wave.

    Hi, the requirements for this feature are clear to me. My approach would be to implement it incrementally, validate edge cases, and ensure it integrates smoothly with existing functionality.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @GEEKYFOCUS to this issue.

  2. abdoolyaro commented on Jun 23, 2026

    @abdoolyaro
    Contributor

    @abdoolyaro has applied to work on this issue as part of the Stellar Wave Program's 6th wave.

    Hi, I’d like to take this issue. I can add a configurable minimum payment amount, enforce it in record_payment(), reject dust payments with a clear error, and update tests and documentation.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @abdoolyaro to this issue.

  3. drips-wave commented on Jun 23, 2026

    @drips-wave

    Congratulations, @abdoolyaro! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on June 30, 2026.

    🧑‍💻 @abdoolyaro: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  4. added a commit that references this issue on Jun 25, 2026
  5. grantfox-oss commented on Jun 25, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox as part of the Official Campaign campaign!

    @abdoolyaro's PR #181 was approved and merged by @phertyameen.

    🏆 @abdoolyaro: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (296 total points). Track your full progress on GrantFox.

    👏 Great work, @abdoolyaro! Keep contributing to bridgelet-org.

  6. drips-wave commented on Jun 25, 2026

    @drips-wave

    This issue has been completed by @abdoolyaro as part of the Stellar Wave Program's 6th Wave 🥳

    😎 @abdoolyaro: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions