fix: use bpf-loader-deprecated explicitly (#11818)
This commit is contained in:
7
web3.js/module.d.ts
vendored
7
web3.js/module.d.ts
vendored
@ -938,18 +938,21 @@ declare module '@solana/web3.js' {
|
||||
}
|
||||
|
||||
// === src/bpf-loader.js ===
|
||||
export const BPF_LOADER_PROGRAM_ID: PublicKey;
|
||||
export class BpfLoader {
|
||||
static programId(version?: number): PublicKey;
|
||||
static getMinNumSignatures(dataLength: number): number;
|
||||
static load(
|
||||
connection: Connection,
|
||||
payer: Account,
|
||||
program: Account,
|
||||
elfBytes: Buffer | Uint8Array | Array<number>,
|
||||
version?: number,
|
||||
loaderProgramId: PublicKey,
|
||||
): Promise<PublicKey>;
|
||||
}
|
||||
|
||||
// === src/bpf-loader-deprecated.js ===
|
||||
export const BPF_LOADER_DEPRECATED_PROGRAM_ID: PublicKey;
|
||||
|
||||
// === src/util/send-and-confirm-transaction.js ===
|
||||
export function sendAndConfirmTransaction(
|
||||
connection: Connection,
|
||||
|
Reference in New Issue
Block a user