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

Add BPF Loader 2 to cache #19

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Add BPF Loader 2 to cache #19

merged 3 commits into from
Jun 26, 2024

Conversation

buffalojoec
Copy link
Owner

Add the BPF Loader 2 to the default program cache. This allows Mollusk
to support CPI to BPF Loader 2 programs.

cc @OliverNChalk

@buffalojoec
Copy link
Owner Author

Just a general note for anyone following.

Rather than add all of the builtins to the cache, like the runtime does, I'd rather not add unnecessary dependencies to Mollusk - like the lookup table program, or stake/vote. Instead, if developers need those builtins, they can add those crates to their development dependencies and add them themselves through Mollusk's program API.

All builtins besides system and BPF Loaders are thus opt-in only.

@buffalojoec buffalojoec merged commit 3d9734c into main Jun 26, 2024
4 checks passed
@buffalojoec buffalojoec deleted the loader-v2 branch June 26, 2024 19:39
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