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

Customized the imported solana-svm baseline into the engine's caller-owned
transaction loader and executor, and patched it into the workspace.

Why

Persistence and commit policy must remain above transaction execution rather
than inside validator-owned bank state.

Closes #8.

Impact

  • Loads accounts through a caller-provided transaction_processing_callback
    and returns the mutated account set after execution.
  • Restricts program loading to transaction programs and validates native-loader
    and PROGRAM_OWNERS ownership.
  • Removes validator-oriented batch, rollback, nonce, and integration-test
    surfaces that are outside this engine boundary.
  • Keeps commit policy and deployment policy outside the crate.

Reviewer notes

Rent-state and lamport-balance checks still surround execution, but this runtime
owns no validator state. The fork constraints are documented in
solana/README.md.

Follow-up

processor schedules transactions through this SVM later in the stack.

@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 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
@bmuddha
bmuddha force-pushed the program-runtime branch from bd2c2ee to 3ed5b92 Compare July 7, 2026 14:15
@bmuddha
bmuddha force-pushed the svm branch 2 times, most recently from 63967b5 to 8fad9d3 Compare July 13, 2026 19:10
@bmuddha
bmuddha force-pushed the svm branch 2 times, most recently from 0386de8 to ea8636a Compare July 17, 2026 14:55
@bmuddha
bmuddha force-pushed the svm branch 2 times, most recently from aaa6060 to 7150fbd Compare July 22, 2026 13:08
@bmuddha
bmuddha force-pushed the svm branch 2 times, most recently from ba48aa0 to de2075a Compare July 26, 2026 13:14
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