Upgradeable programs needs program account's address as program id (#14417) (#14420)

(cherry picked from commit 0619805806)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2021-01-04 23:00:36 +00:00
committed by GitHub
parent 9aeb3bc5d6
commit 0063a58e95
6 changed files with 48 additions and 65 deletions

View File

@@ -248,6 +248,7 @@ pub trait Executor: Debug + Send + Sync {
/// Execute the program
fn execute(
&self,
loader_id: &Pubkey,
program_id: &Pubkey,
keyed_accounts: &[KeyedAccount],
instruction_data: &[u8],