Skip to content

Conversation

@skrrb
Copy link

@skrrb skrrb commented Aug 31, 2025

problem

pinocchio doesn't execute syscalls for non-solana targets, making it impossible to test/call program functions directly outside the solana runtime.

in the case of solana_program, this was solved with the program stubs

solution
introduce a syscalls-stubs feature flag that replaces black_box hints with user custom definitions exposed via the SyscallStubs trait

@febo
Copy link
Collaborator

febo commented Sep 12, 2025

@skrrb Thanks for the PR. We are about to start the integration of pinocchio and SDK so we will be able to use the existing stub implementations.

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.

2 participants