fix: adapt to program id changes
This commit is contained in:
parent
42a2f54c9d
commit
f803b2ae1f
|
@ -16,7 +16,7 @@ export class BpfLoader {
|
||||||
*/
|
*/
|
||||||
static get programId(): PublicKey {
|
static get programId(): PublicKey {
|
||||||
return new PublicKey(
|
return new PublicKey(
|
||||||
'0x8000000000000000000000000000000000000000000000000000000000000000',
|
'BPFLoader1111111111111111111111111111111111',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -144,7 +144,7 @@ export class BudgetProgram {
|
||||||
*/
|
*/
|
||||||
static get programId(): PublicKey {
|
static get programId(): PublicKey {
|
||||||
return new PublicKey(
|
return new PublicKey(
|
||||||
'0x8100000000000000000000000000000000000000000000000000000000000000',
|
'Budget1111111111111111111111111111111111111',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ export class NativeLoader {
|
||||||
*/
|
*/
|
||||||
static get programId(): PublicKey {
|
static get programId(): PublicKey {
|
||||||
return new PublicKey(
|
return new PublicKey(
|
||||||
'0x100000000000000000000000000000000000000000000000000000000000000',
|
'NativeLoader1111111111111111111111111111111',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ type TokenAndPublicKey = [Token, PublicKey]; // This type exists to workaround a
|
||||||
* The built-in token program
|
* The built-in token program
|
||||||
*/
|
*/
|
||||||
export const SYSTEM_TOKEN_PROGRAM_ID = new PublicKey(
|
export const SYSTEM_TOKEN_PROGRAM_ID = new PublicKey(
|
||||||
'0x8300000000000000000000000000000000000000000000000000000000000000',
|
'Token11111111111111111111111111111111111111',
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue