diff --git a/clients/js/src/generated/programs/loaderV3.ts b/clients/js/src/generated/programs/loaderV3.ts index 02704ba..f98f466 100644 --- a/clients/js/src/generated/programs/loaderV3.ts +++ b/clients/js/src/generated/programs/loaderV3.ts @@ -24,7 +24,7 @@ import { } from '../instructions'; export const LOADER_V3_PROGRAM_ADDRESS = - 'CoreBPFLoaderUpgradeab1e1111111111111111111' as Address<'CoreBPFLoaderUpgradeab1e1111111111111111111'>; + 'BPFLoaderUpgradeab1e11111111111111111111111' as Address<'BPFLoaderUpgradeab1e11111111111111111111111'>; export enum LoaderV3Instruction { InitializeBuffer, @@ -71,7 +71,7 @@ export function identifyLoaderV3Instruction( } export type ParsedLoaderV3Instruction< - TProgram extends string = 'CoreBPFLoaderUpgradeab1e1111111111111111111', + TProgram extends string = 'BPFLoaderUpgradeab1e11111111111111111111111', > = | ({ instructionType: LoaderV3Instruction.InitializeBuffer; diff --git a/clients/rust/src/generated/programs.rs b/clients/rust/src/generated/programs.rs index 59bcf6c..47923c0 100644 --- a/clients/rust/src/generated/programs.rs +++ b/clients/rust/src/generated/programs.rs @@ -7,4 +7,4 @@ use solana_program::{pubkey, pubkey::Pubkey}; /// `loader_v3` program ID. -pub const LOADER_V3_ID: Pubkey = pubkey!("CoreBPFLoaderUpgradeab1e1111111111111111111"); +pub const LOADER_V3_ID: Pubkey = pubkey!("BPFLoaderUpgradeab1e11111111111111111111111"); diff --git a/scripts/generate-clients.mjs b/scripts/generate-clients.mjs index b6e2695..7ffc4e4 100644 --- a/scripts/generate-clients.mjs +++ b/scripts/generate-clients.mjs @@ -15,7 +15,10 @@ const ciDir = path.join(__dirname, "..", "ci"); // Update programs. kinobi.update( k.updateProgramsVisitor({ - "solanaLoaderV3Program": { name: "loaderV3" }, + solanaLoaderV3Program: { + name: "loaderV3", + publicKey: "BPFLoaderUpgradeab1e11111111111111111111111", + }, }) );