Skip to content
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

refactor: zero copy vec #1469

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

ananas-block
Copy link
Contributor

@ananas-block ananas-block commented Jan 9, 2025

Changes:

  • replaced pointers with zerocopy crate
  • cleanup
  • refactored processor
  • account-compression program
    • trait GroupAccess return Pubkey instead of &Pubkey necessary so that we can convert light_utils::pubkey::Pubkey to anchor::prelude::Pubkey (conversion is necessary because we need to derive zerocopy traits)
    • moved association check into light-batched-merkle-trees for batch_append, insert-into-queues,
  • light-system-program
    • check_program_owner_state_merkle_tree added generic condition to distinguish between append and nullify as an additional safeguard in case that invalid accounts are passed

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.

1 participant