diff --git a/clients/js/src/generated/programs/loaderV4.ts b/clients/js/src/generated/programs/loaderV4.ts index 4532e90..2d5eb85 100644 --- a/clients/js/src/generated/programs/loaderV4.ts +++ b/clients/js/src/generated/programs/loaderV4.ts @@ -22,7 +22,7 @@ import { } from '../instructions'; export const LOADER_V4_PROGRAM_ADDRESS = - 'CoreBPFLoaderV41111111111111111111111111111' as Address<'CoreBPFLoaderV41111111111111111111111111111'>; + 'LoaderV411111111111111111111111111111111111' as Address<'LoaderV411111111111111111111111111111111111'>; export enum LoaderV4Instruction { Write, @@ -61,7 +61,7 @@ export function identifyLoaderV4Instruction( } export type ParsedLoaderV4Instruction< - TProgram extends string = 'CoreBPFLoaderV41111111111111111111111111111', + TProgram extends string = 'LoaderV411111111111111111111111111111111111', > = | ({ instructionType: LoaderV4Instruction.Write; diff --git a/clients/rust/src/generated/programs.rs b/clients/rust/src/generated/programs.rs index be88b26..beb4d1b 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_v4` program ID. -pub const LOADER_V4_ID: Pubkey = pubkey!("CoreBPFLoaderV41111111111111111111111111111"); +pub const LOADER_V4_ID: Pubkey = pubkey!("LoaderV411111111111111111111111111111111111"); diff --git a/program/Cargo.toml b/program/Cargo.toml index ad8c44c..2766e1e 100644 --- a/program/Cargo.toml +++ b/program/Cargo.toml @@ -7,7 +7,7 @@ license-file = "../LICENSE" publish = false [package.metadata.solana] -program-id = "CoreBPFLoaderV41111111111111111111111111111" +program-id = "LoaderV411111111111111111111111111111111111" program-dependencies = [] [lib] diff --git a/program/idl.json b/program/idl.json index 496d206..8ba061b 100644 --- a/program/idl.json +++ b/program/idl.json @@ -209,7 +209,7 @@ ], "metadata": { "origin": "shank", - "address": "CoreBPFLoaderV41111111111111111111111111111", + "address": "LoaderV411111111111111111111111111111111111", "binaryVersion": "0.4.2", "libVersion": "^0.4.2" } diff --git a/program/src/lib.rs b/program/src/lib.rs index dcc17a9..dd453d3 100644 --- a/program/src/lib.rs +++ b/program/src/lib.rs @@ -7,7 +7,4 @@ pub mod instruction; pub mod processor; pub mod state; -// [CORE BPF]: Unfortunately, the runtime still depends pretty heavily on this -// program ID hard-coded, so we can't test with it just yet. -// solana_program::declare_id!("LoaderV411111111111111111111111111111111111"); -solana_program::declare_id!("CoreBPFLoaderV41111111111111111111111111111"); +solana_program::declare_id!("LoaderV411111111111111111111111111111111111");