Skip to content

Release 0.2.1#200

Open
andrewsource147 wants to merge 5 commits intomainfrom
release_0.2.1
Open

Release 0.2.1#200
andrewsource147 wants to merge 5 commits intomainfrom
release_0.2.1

Conversation

@andrewsource147
Copy link
Copy Markdown
Contributor

No description provided.

andrewsource147 and others added 3 commits March 31, 2026 13:14
* chore: bump anchor v1

* fix: ci

* fix: ci

* fix: rebase mistake

* fix: ci again

* fix: bot review

* chore: reduce import

* minor fix (#202)

* fix: comments

* fix: use official anchor tag for security, but contains event_cpi warning

* chore: update readme test script

---------

Co-authored-by: andrewsource147 <31321699+andrewsource147@users.noreply.github.com>
…r program PDA) (#199)

* release_0.2.1

* feat/claim protocol fee unchecked

* feat: add new error

* feat: fix claim protocol fee
- remove claim protocl fee unchecked
- remove zap protocol fee

* refactor: separate pda from external program

* refactor: cleanup

* feat: add both token mint acounts

* feat: rename claim_protocol_fee2

* feat: re-add claim_protcol_fee and zap_protocol_fee
- update zap.so to 0.2.2

* fix: move tests to its own dedicated files

* fix: bot review commenta

* docs: update changelog

* feat: address comments

* fix: remove duplicate test

* feat: address comments
- consistent account order
- remove event_cpi

* feat: check exclude transfer fee amount
- add comment for emit! log could be truncated

* fix: after rebase. add missing test

* fix: after rebasing
@andrewsource147 andrewsource147 changed the title init release 0.2.1 Release 0.2.1 Apr 9, 2026
@0xSoju2
Copy link
Copy Markdown
Contributor

0xSoju2 commented Apr 16, 2026

Vault review note (severity: Low / Consistency)\n\n includes a good Token-2022 transfer-fee guard ( + non-zero check) before transfer.\n\nRequest: please keep this as the reference behavior and align companion repos/instructions to the same claim semantics, so protocol fee accounting is consistent across Meteora programs for transfer-fee mints.\n\nNo blocker from this item on cp-amm itself.

@0xSoju2
Copy link
Copy Markdown
Contributor

0xSoju2 commented Apr 16, 2026

Correction / precise reference: the guard exists in programs/cp-amm/src/instructions/operator/ix_claim_protocol_fee2.rs (calculate_transfer_fee_excluded_amount + require(amount>0) before transfer). No blocker from this item on cp-amm itself; this is a cross-repo consistency reference.

* fix: get nextSqrtPrice for compounding fee

* fix: remove redundant CollectFeeMode parsing

* feat: add test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants