Skip to content

Upgrade Solana dependencies to 4.2.2 and port relevant upstream changes #126

Description

@bmuddha

Outcome

Align Engine with Solana/Agave 4.2.2 while preserving MagicBlock runtime behavior.

Scope

  • Update dependencies and lockfile, keeping independently versioned SDK crates compatible.
  • Port relevant upstream changes into the forked account, program-runtime, SVM, transaction-context, and transaction-view crates under solana/, preserving MagicBlock customizations.
  • Adapt affected Engine call sites while preserving borrowed-account layout, direct VM mapping, CPI safety, and private transaction compatibility.

MBV integration is tracked separately in magicblock-labs/magicblock-validator#1660.

Acceptance criteria

  • Dependencies resolve against the intended 4.2.2 release family.
  • Relevant upstream changes are ported; intentional omissions are explained in the PR.
  • Existing targeted checks pass, preserving runtime-fork contracts and deterministic execution.
  • The resulting Engine revision is identified for the MBV follow-up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions