Skip to content

Commit

Permalink
Add writable permission description for some ubpfl instructions (#4198
Browse files Browse the repository at this point in the history
)

Repair permission description
  • Loading branch information
mohanson authored Jan 3, 2025
1 parent 32449a4 commit 4d87254
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/program/src/loader_upgradeable_instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ pub enum UpgradeableLoaderInstruction {
/// account.
///
/// # Account references
/// 0. `[signer]` The payer account that will pay to create the ProgramData
/// account.
/// 0. `[writable, signer]` The payer account that will pay to create the
/// ProgramData account.
/// 1. `[writable]` The uninitialized ProgramData account.
/// 2. `[writable]` The uninitialized Program account.
/// 3. `[writable]` The Buffer account where the program data has been
Expand Down Expand Up @@ -141,8 +141,8 @@ pub enum UpgradeableLoaderInstruction {
/// 1. `[writable]` The ProgramData account's associated Program account.
/// 2. `[]` System program (`solana_sdk::system_program::id()`), optional, used to transfer
/// lamports from the payer to the ProgramData account.
/// 3. `[signer]` The payer account, optional, that will pay necessary rent exemption costs
/// for the increased storage size.
/// 3. `[writable, signer]` The payer account, optional, that will pay
/// necessary rent exemption costs for the increased storage size.
ExtendProgram {
/// Number of bytes to extend the program data.
additional_bytes: u32,
Expand Down

0 comments on commit 4d87254

Please sign in to comment.