Skip to content

V3#20

Merged
bmuddha merged 12 commits into
mainfrom
v3
May 21, 2026
Merged

V3#20
bmuddha merged 12 commits into
mainfrom
v3

Conversation

@bmuddha
Copy link
Copy Markdown
Collaborator

@bmuddha bmuddha commented May 19, 2026

Summary by CodeRabbit

Release Notes

  • Chores

    • Reorganized codebase into workspace structure with separate runtime and account management crates.
    • Pinned Rust toolchain to version 1.94.1.
  • Removed

    • Removed example applications and integration tests.
    • Removed specification documentation and diagram files.
    • Removed test utilities and conformance test framework.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 19, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 68f3ec37-f4c8-4262-8279-cd2d46e12a74

📥 Commits

Reviewing files that changed from the base of the PR and between 5ea30a7 and f5b97c8.

⛔ Files ignored due to path filters (9)
  • Cargo.lock is excluded by !**/*.lock
  • doc/diagrams/context.svg is excluded by !**/*.svg
  • elfs/noop_aligned.so is excluded by !**/*.so
  • examples/Cargo.lock is excluded by !**/*.lock
  • svm/tests/example-programs/clock-sysvar/clock_sysvar_program.so is excluded by !**/*.so
  • svm/tests/example-programs/hello-solana/hello_solana_program.so is excluded by !**/*.so
  • svm/tests/example-programs/simple-transfer/simple_transfer_program.so is excluded by !**/*.so
  • svm/tests/example-programs/transfer-from-account/transfer_from_account_program.so is excluded by !**/*.so
  • svm/tests/example-programs/write-to-account/write_to_account_program.so is excluded by !**/*.so
📒 Files selected for processing (89)
  • .gitignore
  • Cargo.toml
  • doc/diagrams/context.tex
  • doc/spec.md
  • examples/Cargo.toml
  • examples/json-rpc/README.md
  • examples/json-rpc/client/Cargo.toml
  • examples/json-rpc/client/src/client.rs
  • examples/json-rpc/client/src/main.rs
  • examples/json-rpc/client/src/utils.rs
  • examples/json-rpc/config.yml
  • examples/json-rpc/program/Cargo.toml
  • examples/json-rpc/program/src/lib.rs
  • examples/json-rpc/server/Cargo.toml
  • examples/json-rpc/server/src/main.rs
  • examples/json-rpc/server/src/rpc_process.rs
  • examples/json-rpc/server/src/rpc_service.rs
  • examples/json-rpc/server/src/svm_bridge.rs
  • examples/json-rpc/test.json
  • examples/paytube/Cargo.toml
  • examples/paytube/README.md
  • examples/paytube/src/lib.rs
  • examples/paytube/src/loader.rs
  • examples/paytube/src/log.rs
  • examples/paytube/src/processor.rs
  • examples/paytube/src/settler.rs
  • examples/paytube/src/transaction.rs
  • examples/paytube/tests/native_sol.rs
  • examples/paytube/tests/setup.rs
  • examples/paytube/tests/spl_tokens.rs
  • program-runtime/Cargo.toml
  • program-runtime/src/cpi.rs
  • program-runtime/src/execution_budget.rs
  • program-runtime/src/invoke_context.rs
  • program-runtime/src/lib.rs
  • program-runtime/src/loaded_programs.rs
  • program-runtime/src/mem_pool.rs
  • program-runtime/src/memory.rs
  • program-runtime/src/serialization.rs
  • program-runtime/src/stable_log.rs
  • program-runtime/src/sysvar_cache.rs
  • rust-toolchain.toml
  • solana-account/Cargo.toml
  • solana-account/src/cow.rs
  • solana-account/src/lib.rs
  • solana-account/src/state_traits.rs
  • solana-account/src/test_utils.rs
  • solana-account/src/tests.rs
  • src/access_permissions.rs
  • src/escrow.rs
  • src/runtime_config.rs
  • src/transaction_processing_callback.rs
  • svm/Cargo.toml
  • svm/src/access_permissions.rs
  • svm/src/account_loader.rs
  • svm/src/account_overrides.rs
  • svm/src/lib.rs
  • svm/src/message_processor.rs
  • svm/src/nonce_info.rs
  • svm/src/program_loader.rs
  • svm/src/rent_calculator.rs
  • svm/src/rollback_accounts.rs
  • svm/src/transaction_account_state_info.rs
  • svm/src/transaction_balances.rs
  • svm/src/transaction_commit_result.rs
  • svm/src/transaction_error_metrics.rs
  • svm/src/transaction_execution_result.rs
  • svm/src/transaction_processing_callback.rs
  • svm/src/transaction_processing_result.rs
  • svm/src/transaction_processor.rs
  • svm/tests/concurrent_tests.rs
  • svm/tests/example-programs/clock-sysvar/Cargo.toml
  • svm/tests/example-programs/clock-sysvar/src/lib.rs
  • svm/tests/example-programs/hello-solana/Cargo.toml
  • svm/tests/example-programs/hello-solana/src/lib.rs
  • svm/tests/example-programs/simple-transfer/Cargo.toml
  • svm/tests/example-programs/simple-transfer/src/lib.rs
  • svm/tests/example-programs/transfer-from-account/Cargo.toml
  • svm/tests/example-programs/transfer-from-account/src/lib.rs
  • svm/tests/example-programs/write-to-account/Cargo.toml
  • svm/tests/example-programs/write-to-account/src/lib.rs
  • svm/tests/integration_test.rs
  • svm/tests/mock_bank.rs
  • tests/conformance.rs
  • tests/transaction_builder.rs
  • transaction-context/Cargo.toml
  • transaction-context/src/lib.rs
  • transaction-context/src/transaction_accounts.rs
  • transaction-context/src/vm_slice.rs

Walkthrough

Converts the repository into a Cargo workspace, adds new program-runtime and transaction-context crates, introduces a solana-account crate with CoW accounts, refactors SVM core execution APIs and tests, updates example programs, and removes legacy docs, JSON-RPC examples, and PayTube demos.

Changes

Core workspace and runtime refactor

Layer / File(s) Summary
Workspace, runtime/context crates, SVM refactors, and removals
Cargo.toml, program-runtime/*, transaction-context/*, solana-account/*, svm/*, tests/*, examples/*, doc/*, .gitignore
Introduces a multi-crate workspace with new runtime and transaction-context crates, a CoW-based account crate, significant SVM refactors (access permissions, message processing, loader, rent, balances), updated tests and example programs, and removal of legacy docs and examples (JSON-RPC, PayTube).

Estimated code review effort

🎯 5 (Critical) | ⏱️ ~120 minutes

Possibly related PRs

  • magicblock-labs/magicblock-svm#12 — Also modifies writable-account validation to allow ephemeral accounts, overlapping with the new svm/src/access_permissions logic.

Suggested reviewers

  • GabrielePicco
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch v3

@bmuddha bmuddha merged commit 2bbd342 into main May 21, 2026
1 of 2 checks passed
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