From a3f1580b8b86da6aa5e8d0a86577da646bed1016 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 26 Apr 2021 20:41:36 +0000 Subject: [PATCH] Update bpf loader info on native-programs docs (#16840) (#16845) * Update bpf loader info on native-programs docs * Link to program deployment docs (cherry picked from commit 5eb5d9b2f56a1f32cf812fcb19f4c5871b1f6a24) Co-authored-by: Tyera Eulberg --- .../developing/runtime-facilities/programs.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/src/developing/runtime-facilities/programs.md b/docs/src/developing/runtime-facilities/programs.md index e894039b37..1f495e1e4a 100644 --- a/docs/src/developing/runtime-facilities/programs.md +++ b/docs/src/developing/runtime-facilities/programs.md @@ -52,16 +52,18 @@ Create and manage accounts that track validator voting state and rewards. ## BPF Loader -Deploy programs to the chain, load and execute them. +Deploys, upgrades, and executes programs on the chain. -- Program id: `BPFLoader1111111111111111111111111111111111` -- Instructions: [LoaderInstruction](https://docs.rs/solana-sdk/VERSION_FOR_DOCS_RS/solana_sdk/loader_instruction/enum.LoaderInstruction.html) +- Program id: `BPFLoaderUpgradeab1e11111111111111111111111` +- Instructions: [LoaderInstruction](https://docs.rs/solana-sdk/VERSION_FOR_DOCS_RS/solana_sdk/loader_upgradeable_instruction/enum.UpgradeableLoaderInstruction.html) -The BPF Loader marks itself as its "owner" of the executable account it -creates to store your program. When a user invokes an instruction via a -program id, the Solana runtime will load both your executable account and its -owner, the BPF Loader. The runtime then passes your program to the BPF Loader -to process the instruction. +The BPF Upgradeable Loader marks itself as "owner" of the executable and +program-data accounts it creates to store your program. When a user invokes an +instruction via a program id, the Solana runtime will load both your the program +and its owner, the BPF Upgradeable Loader. The runtime then passes your program +to the BPF Upgradeable Loader to process the instruction. + +[More information about deployment](cli/deploy-a-program.md) ## Secp256k1 Program