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

extract solana-cpi crate #2981

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

kevinheavey
Copy link

Problem

solana_program::program is a vital component of onchain programs and it needs to be made available outside of solana_program.

This branches off #2924 so that needs to be merged first

Summary of Changes

  • Extract a solana-cpi crate with inline syscall stubs that cannot be overwritten
  • Wrap the functions from solana-cpi in solana_program::program so the syscall stubs can be overwritten as before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant