Skip to content

fix(loader): loader programs parity#410

Open
sonicfromnewyoke wants to merge 4 commits intosolana-foundation:v2from
sonicfromnewyoke:sonic/fix-bpf-loader-mismatch
Open

fix(loader): loader programs parity#410
sonicfromnewyoke wants to merge 4 commits intosolana-foundation:v2from
sonicfromnewyoke:sonic/fix-bpf-loader-mismatch

Conversation

@sonicfromnewyoke
Copy link
Copy Markdown
Contributor

@sonicfromnewyoke sonicfromnewyoke commented Apr 21, 2026

Warning

Breaking Change SHould be merged into 2.0 branch

Problem

existing programs/bpf-loader pkg was a stale 2021-era port of the Solana CLI's legacy (loader-v2) deploy flow: Write/Finalize only, targeting BPFLoader2111....

Summary of Changes

  • replaced programs/bpf-loader with programs/loader-v{2,3,4} which match anza-xyz/solana-sdk/loader-v{2,3,4}-interface
  • added LoaderV4ProgramID, NativeLoaderID to program_ids
  • ported upstream tests

@sonicfromnewyoke sonicfromnewyoke changed the base branch from main to v2 April 23, 2026 10:40
@sonicfromnewyoke sonicfromnewyoke force-pushed the sonic/fix-bpf-loader-mismatch branch from 9745cc4 to d228859 Compare April 29, 2026 21:53
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