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

sdk: Extract instructions-sysvar #4040

Merged
merged 3 commits into from
Dec 11, 2024
Merged

Conversation

joncinque
Copy link

Problem

The instructions sysvar currently lives in the solana-sysvar crate, but it doesn't require any of the types from the sysvar crate, making it a great candidate for extraction.

Summary of changes

Since solana-sysvar hasn't been officially published yet, we can make a breaking change to it, and totally extract the instructions sysvar from it, then re-export the functionality from solana-program directly.

#### Problem

The instructions sysvar currently lives in the `solana-sysvar` crate,
but it doesn't require any of the types from the sysvar crate, making it
a great candidate for extraction.

#### Summary of changes

Since `solana-sysvar` hasn't been officially published yet, we can make
a breaking change to it, and totally extract the instructions sysvar
from it, then re-export the functionality from `solana-program`
directly.
buffalojoec
buffalojoec previously approved these changes Dec 10, 2024
sdk/program/src/sysvar.rs Show resolved Hide resolved
@yihau yihau merged commit f33d0e0 into anza-xyz:master Dec 11, 2024
52 checks passed
@joncinque joncinque deleted the extract-instructions branch December 11, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants