Skip to content

feat: add svm crate#21

Open
bmuddha wants to merge 1 commit into
program-runtimefrom
svm
Open

feat: add svm crate#21
bmuddha wants to merge 1 commit into
program-runtimefrom
svm

Conversation

@bmuddha

@bmuddha bmuddha commented May 28, 2026

Copy link
Copy Markdown
Collaborator

What changed

Added the solana-svm crate, an engine-shaped fork of Agave's crate patched in
workspace-wide via [patch.crates-io].

Why

The engine needs a transaction loader/executor that is caller-owned at the
transaction boundary, so persistence and commit policy live above it rather than
inside a validator bank.

Closes #8.

Impact

  • Loads accounts through a caller-provided transaction_processing_callback,
    executes via solana-program-runtime, and returns the mutated account set.
  • Program loading is limited to the transaction's programs and checks
    native-loader / PROGRAM_OWNERS ownership before execution.
  • Commit policy, deployment-slot checks, and validator-style batch decisions are
    intentionally out of scope.

Reviewer notes

Rent-state and lamport-balance checks still run around execution, but this runtime
owns no validator state. See solana/README.md (Runtime Scope).

Follow-up

processor schedules transactions through this SVM upstack.

bmuddha commented May 28, 2026

Copy link
Copy Markdown
Collaborator Author

@bmuddha bmuddha force-pushed the program-runtime branch from d30f0be to 526f178 Compare May 28, 2026 14:05
@bmuddha bmuddha force-pushed the program-runtime branch from 526f178 to 6b99920 Compare May 28, 2026 14:38
@bmuddha bmuddha force-pushed the program-runtime branch from 526f178 to 6b99920 Compare May 28, 2026 14:38
@bmuddha bmuddha force-pushed the svm branch 2 times, most recently from 6908a8c to bf5041b Compare May 28, 2026 14:42
@bmuddha bmuddha force-pushed the program-runtime branch 2 times, most recently from 56ba2c5 to 293b261 Compare May 29, 2026 09:08
@bmuddha bmuddha force-pushed the program-runtime branch from 293b261 to bdadc77 Compare May 29, 2026 15:49
@bmuddha bmuddha force-pushed the svm branch 2 times, most recently from a03f0fd to d2ebd2c Compare June 1, 2026 15:29
@bmuddha bmuddha force-pushed the program-runtime branch from bdadc77 to 7a3fcbb Compare June 1, 2026 15:29
@bmuddha bmuddha force-pushed the program-runtime branch 2 times, most recently from fea9f0b to a7dda81 Compare June 2, 2026 19:23
@bmuddha bmuddha force-pushed the svm branch 2 times, most recently from 81aff13 to b426266 Compare June 5, 2026 12:10
@bmuddha bmuddha force-pushed the program-runtime branch from a7dda81 to 9339385 Compare June 5, 2026 12:10
@bmuddha bmuddha force-pushed the svm branch 3 times, most recently from 5571cd0 to f64d381 Compare June 30, 2026 13:19
@bmuddha bmuddha force-pushed the program-runtime branch from ef9728a to 1a37efb Compare July 1, 2026 20:03
@bmuddha bmuddha force-pushed the program-runtime branch from 1a37efb to 5900d6a Compare July 2, 2026 15:08
@bmuddha bmuddha force-pushed the svm branch 2 times, most recently from 24b7753 to d8ece3d Compare July 2, 2026 19:39
@bmuddha bmuddha force-pushed the program-runtime branch 2 times, most recently from e7f8d8a to 3207425 Compare July 3, 2026 22:01
@bmuddha bmuddha force-pushed the svm branch 2 times, most recently from 809ec9f to 72848fc Compare July 6, 2026 09:01
@bmuddha bmuddha force-pushed the program-runtime branch 2 times, most recently from fef8a88 to cd4ec1f Compare July 6, 2026 12:36
@bmuddha bmuddha force-pushed the program-runtime branch from cd4ec1f to bd2c2ee Compare July 6, 2026 14:46
@bmuddha bmuddha marked this pull request as ready for review July 6, 2026 15:05
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