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

[SOL] Add tests for call (nfc) #79

Merged

Conversation

LucasSte
Copy link
Collaborator

@LucasSte LucasSte commented Jan 4, 2024

This PR represents another task in solana-labs/solana#34250. The modifications made in solana-labs/rbpf#296 incur no functional change in the LLVM backend. We are already emitting src=1 for SBF-to-SBF calls and src=0 for external calls.

As the encoding for calls was not tested, I added a some tests to ensure we follow such a pattern.

@LucasSte LucasSte requested a review from dmakarov January 9, 2024 11:44
@LucasSte LucasSte marked this pull request as ready for review January 9, 2024 11:44
@LucasSte
Copy link
Collaborator Author

LucasSte commented Jan 9, 2024

Refer to #41

@LucasSte LucasSte merged commit fbbce8d into anza-xyz:solana-rustc/16.0-2023-06-05 Jan 9, 2024
15 checks passed
@LucasSte LucasSte deleted the call-ready branch January 9, 2024 17:02
LucasSte added a commit to LucasSte/llvm-project that referenced this pull request Jan 31, 2024
LucasSte added a commit that referenced this pull request Feb 16, 2024
LucasSte added a commit to LucasSte/llvm-project that referenced this pull request Jun 28, 2024
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.

None yet

2 participants