feat: add program runtime crate#20
Open
bmuddha wants to merge 1 commit into
Open
Conversation
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 28, 2026
63b2d0a to
8f1a777
Compare
8f1a777 to
ccac233
Compare
526f178 to
6b99920
Compare
ccac233 to
c4029f9
Compare
c4029f9 to
e4a023f
Compare
293b261 to
bdadc77
Compare
27ca11d to
ff1197d
Compare
fea9f0b to
a7dda81
Compare
7f5babf to
b1bb9fd
Compare
b1bb9fd to
f7c2bac
Compare
e1e6b84 to
d977fde
Compare
f7c2bac to
881f449
Compare
This was referenced Jun 23, 2026
59ad79e to
a9fc42e
Compare
a9fc42e to
a5c02e4
Compare
a5c02e4 to
49572d6
Compare
49572d6 to
83e3b6d
Compare
869d3a5 to
ef9728a
Compare
83e3b6d to
885578c
Compare
ed5a8e2 to
d382bc2
Compare
5900d6a to
e7f8d8a
Compare
f92b443 to
28cf2cc
Compare
3207425 to
fef8a88
Compare
28cf2cc to
e32412c
Compare
cd4ec1f to
bd2c2ee
Compare
e32412c to
7f03467
Compare
7f03467 to
2940e4c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
Added the
solana-program-runtimecrate, an engine-shaped fork of Agave's cratepatched in workspace-wide via
[patch.crates-io].Why
The engine needs invocation state, CPI translation, and SBF VM setup that map
account regions directly into the VM rather than threading data through a
serialized buffer.
Closes #9.
Impact
logging, and program-cache primitives.
separate
MemoryRegions, not the serialized input buffer.solana-svm.Reviewer notes
The
serializationandvmerror remapping must stay in sync with thetransaction-context access-violation handler — see
solana/README.md(VM Account Mapping, Access-Violation Growth).
Follow-up
svmdrives this runtime upstack.