-
Notifications
You must be signed in to change notification settings - Fork 92
feat: more ctoken extensions rebased #2141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
3d6af47
fix rebase
ananas-block 8a48486
fix tests
ananas-block a3ac67c
test: add compression only cmint scenario
ananas-block c650ecb
test: add compression only restricted spl mint scenario
ananas-block e258fbb
fix decompress full test
ananas-block 6913986
fix lint
ananas-block 403575a
rebase cleanup and small fixes
ananas-block b695ff6
fix ci tests
ananas-block 15181c9
cleanup
ananas-block d716f2f
fix: forester test
ananas-block e56a346
feat: sdk support approve, revoke, freeze, thaw
ananas-block 82893e9
stash freeze thaw!
ananas-block 2681c50
fix: cmint decompress validations
ananas-block 5d1c287
feat: add decompress cmint sdk and test
ananas-block 3172c05
test: burn ctokens
ananas-block 778ffc8
test: ctoken mint to
ananas-block 2f5eb6c
feat: add freeze thaw program ownership check, test: spl mint freeze …
ananas-block 200cac6
feat: transfer checked
ananas-block c1cf3db
test: transfer checked
ananas-block 6673309
stash add decimals to compressible extension
ananas-block b53a80e
stash decimals in ctoken account implemented sdk ctoken tests green
ananas-block 26748fb
stash ctoken type refactor
ananas-block e282f43
stash CompressedMint CompressionInfo refactor
ananas-block bc8d051
adapted token program
ananas-block fe686d1
fix tests
ananas-block d293dc3
fix integration tests
ananas-block ebd9e9e
fix: failing tests
ananas-block 3feb4ca
self review fixes and cleanup
ananas-block c149670
refactor: consolidate t22 extensions into light-ctoken-interface
ananas-block 161ac37
cleanup
ananas-block 2e9308c
doc: create token pool, add token pool
ananas-block 260a28b
stash extension docs
ananas-block f571583
security: add separate derivation for restricted mint spl interace pdas
ananas-block 2581537
feat: support restricted mints add token pool
ananas-block 2665113
test: approve, revoke, freeze, thaw
ananas-block 5805c34
stash pre extension test reorg
ananas-block acd1f22
refactor: split extensions.rs into compress_only directory
ananas-block ba15f02
stash
ananas-block 55db958
stash tests
ananas-block 1b5b3c1
fix feedback
ananas-block b33c6ce
update docs
ananas-block ab83e6f
feat: add claim from cmint
ananas-block File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick | 🔵 Trivial
Consider documenting additional test patterns beyond the single assertion approach.
The section demonstrates a comprehensive single-assert pattern, which is excellent for full account validation. However, consider adding guidance for scenarios where tests need to: (a) assert on specific fields only (partial validation), (b) handle variable extension ordering, or (c) test failed account creation paths. A follow-up section with these patterns would strengthen the testing guidance.
🤖 Prompt for AI Agents