Skip to content

Feat(Solana): Implement LzReceiveTypes V2 with Multi-Instruction and ALT Support #152

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ziming-zung
Copy link
Contributor

This PR updates the Solana OApp library to support LzReceiveTypes V2, following the latest LayerZero spec.

Key changes:

  1. Adds multi-instruction execution model for lz_receive, enabling complex workflows(like ABA messaging)
  2. Integrates Solana Address Lookup Table (ALT) support for efficient account referencing.
  3. Introduces flexible account resolution via AddressLocator, supporting multiple signers and compact ALT references.

These changes address V1 limitations and enable more scalable, flexible cross-chain messaging on Solana.

@ziming-zung ziming-zung added the do-not-merge not ready to be merged label Jun 9, 2025
@ziming-zung ziming-zung marked this pull request as draft June 9, 2025 15:38
Copy link

@DanL0 DanL0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing pub mod lz_receive_v2 in oapp lib.rs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge not ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants