explorer: Add upgradeable loader to search results (#15373)
This commit is contained in:
parent
3ac7e09de6
commit
4d16b2fcc5
|
@ -87,7 +87,11 @@ function buildProgramOptions(search: string) {
|
|||
}
|
||||
}
|
||||
|
||||
const SEARCHABLE_LOADERS: LoaderName[] = ["BPF Loader", "BPF Loader 2"];
|
||||
const SEARCHABLE_LOADERS: LoaderName[] = [
|
||||
"BPF Loader",
|
||||
"BPF Loader 2",
|
||||
"BPF Upgradeable Loader",
|
||||
];
|
||||
|
||||
function buildLoaderOptions(search: string) {
|
||||
const matchedLoaders = Object.entries(LOADER_IDS).filter(
|
||||
|
|
|
@ -78,6 +78,7 @@ export const LOADER_IDS = {
|
|||
NativeLoader1111111111111111111111111111111: "Native Loader",
|
||||
[BPF_LOADER_DEPRECATED_PROGRAM_ID.toBase58()]: "BPF Loader",
|
||||
[BPF_LOADER_PROGRAM_ID.toBase58()]: "BPF Loader 2",
|
||||
BPFLoaderUpgradeab1e11111111111111111111111: "BPF Upgradeable Loader",
|
||||
} as const;
|
||||
|
||||
const SYSVAR_ID: { [key: string]: string } = {
|
||||
|
|
Loading…
Reference in New Issue