Skip to content

Add unit tests for burn_from, total_minted_to, and claim history functionality - #660

Merged
DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
OlolaJaco:main
Oct 19, 2026
Merged

DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
OlolaJaco:main

Conversation

@OlolaJaco

Copy link
Copy Markdown
Contributor

Closes #522
Closes #523
Closes #524
Closes #525

…tionality

- Implement tests for burn_from with valid and insufficient allowance, ensuring correct balance and allowance updates.
- Add tests for total_minted_to, verifying correct accumulation of minted amounts per address and independence from transfers.
- Introduce tests for get_claim_history, validating retrieval of claims for learners, including batch claims and claims from different courses.
- Ensure all tests adhere to strict type safety and modular design principles.
@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@OlolaJaco 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

@DeFiVC
DeFiVC merged commit 03c1a1d into ChainLearnOfficial:main Oct 19, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants