Skip to content

Feature/tests pause vesting admin content hash - #384

Merged
DeFiVC merged 5 commits into
ChainLearnOfficial:mainfrom
dev-markdavid:feature/tests-pause-vesting-admin-content-hash
Aug 31, 2026
Merged

Feature/tests pause vesting admin content hash#384
DeFiVC merged 5 commits into
ChainLearnOfficial:mainfrom
dev-markdavid:feature/tests-pause-vesting-admin-content-hash

Conversation

@dev-markdavid

Copy link
Copy Markdown
Contributor

Issues Resolved

Linked issues

…earnOfficial#281)

Tests that emergency pause works on learn-token, progress-tracker, and
credential-nft: pause prevents state changes (transfers, minting, burning,
enrollment, module completion, quiz submissions, credential minting),
unpause restores operations, read-only functions still work while paused,
and pause/unpause events are emitted.
)

Tests the full vesting lifecycle: schedule creation, cliff enforcement,
linear vesting at 50% and 100%, claiming tokens, exhausted schedule
preventing further claims, and beneficiary-only access. Verifies
vesting_created and vesting_claimed events are emitted.
Tests multiple admins with distinct roles (Minter, Pauser, Admin),
verifies each role is enforced independently, tests role revocation
removes access, and confirms role_granted/role_revoked events are
emitted. Also tests the grant_role/revoke_role lifecycle.
…Official#250)

Tests that courses have content hashes (defaulting to 'none'), hashes
can be set and updated, hashes are queryable via get_course_content_hash
and get_course, enroll skips verification (optional), enroll_checked
accepts matching hashes, rejects mismatched hashes, and skips
verification when the hash is unset or None is passed.
Adds [[test]] entries for emergency_pause_flow, token_vesting_flow,
multi_admin_flow, and content_hash_flow integration tests.
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@dev-markdavid 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 d58f101 into ChainLearnOfficial:main Aug 31, 2026
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