You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The bounty state machine allows MERGED → REFUNDED, so a completed bounty's funds can be returned to the sponsor #795
MERGED means the linked PR was merged on GitHub — the work is done and accepted. BountiesService.refund admits the bounty's sponsor and the repository's maintainer (bounties.service.ts:257-265), and assertTransition(bounty.status, REFUNDED) passes from MERGED.
Why it matters: a sponsor can take the money back after the contributor's work has been merged, and the maintainer of the repository can do it on their behalf. The contributor has no recourse: the escrow refund pays the original funder, the bounty ends REFUNDED, and the only record that work was delivered is the mergedAt timestamp. This is the one transition in the table that lets a party unilaterally reverse a completed exchange.
The adjacent transitions are defensible — RELEASE_FAILED → REFUNDED is a genuine escape hatch when the payout cannot be made, and EXPIRED → REFUNDED is the normal unwind. MERGED → REFUNDED is neither.
Fix: remove it. Recovery from a stuck MERGED bounty should go through RELEASE_FAILED (retry the release) or an explicitly admin-gated dispute path that is distinguishable from an ordinary sponsor refund — not through the same endpoint a sponsor uses to cancel an unclaimed bounty. If a dispute flow is wanted, it needs its own status and its own authorization.
Congratulations, @jd-here-007! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
🧑💻 @jd-here-007: 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.
😎 @jd-here-007: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, 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.
Activity
yunyue-taste-it commentedon Nov 12, 2026
Implemented the fix and test verification in PR #859:
#859
Base / EVM payout address:
udoyechinenyevictoria commentedon Nov 19, 2026
@udoyechinenyevictoria has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @udoyechinenyevictoria to this issue.
jd-here-007 commentedon Nov 19, 2026
@jd-here-007 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @jd-here-007 to this issue.
drips-wave commentedon Nov 19, 2026
Congratulations, @jd-here-007! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
🧑💻 @jd-here-007: 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 🌊
drips-wave commentedon Nov 20, 2026
This issue has been completed by @jd-here-007 as part of the Stellar Wave Program's 11th Wave 🥳
😎 @jd-here-007: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, 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.