Skip to content

Add event emission test for batch_claim_reward success events #597

Closed

Description

@DeFiVC

Severity: low
Labels: tests, rust, Stellar Wave

What

Add event emission test verifying batch_claim_reward emits individual reward events for each successful claim.

Why

batch_claim_reward should emit a reward event for each quiz claimed. This is not tested.

Scope

  • Test batch of 3 quizzes emits 3 reward events
  • Test partial batch (some already claimed) emits only successful events
  • Verify each event has correct data

Out of scope

Testing batch claim functionality (already covered).

Acceptance criteria

  • Event tests pass

Technical context

tests/unit/event_emission_tests.rs.

Activity

  1. added
    testsTest additions or improvements
    rustRust language
    Stellar WaveIssues in the Stellar wave program
    lowCosmetic, minor improvement, code quality, documentation
    on Oct 14, 2026
  2. Bobai100 commented on Oct 16, 2026

    @Bobai100

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

    Hi Maintainer,
    I hope you’re doing well.
    I would really appreciate the opportunity to work on this issue. Having carefully reviewed the acceptance criteria, I’m confident that I can work on it and submit a PR after being assigned.
    Please kindly consider assigning this issue to me. I would be grateful for the opportunity to contribute.
    Thank you very much for your time and consideration.

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

  3. Temibell commented on Oct 21, 2026

    @Temibell

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

    Hi Maintainer, I can fix this pls assign. ETA 5hrs

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

  4. alfeedrips commented on Oct 21, 2026

    @alfeedrips
    Contributor

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

    Can I work on this task?

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

  5. Wittig18 commented on Oct 21, 2026

    @Wittig18

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

    hey maintainer, i would love to work on this

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

  6. drips-wave commented on Oct 21, 2026

    @drips-wave

    Congratulations, @alfeedrips! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @alfeedrips: 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 🌊

  7. grantfox-oss commented on Oct 21, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @alfeedrips's PR #687 was approved and merged by @DeFiVC.

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

    👏 Great work, @alfeedrips! Keep contributing to ChainLearnOfficial.

  8. drips-wave commented on Oct 21, 2026

    @drips-wave

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

    😎 @alfeedrips: 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.

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 programlowCosmetic, minor improvement, code quality, documentationrustRust languagetestsTest additions or improvements

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions