fix: adapt to program id changes

This commit is contained in:
Michael Vines 2019-04-25 17:43:19 -07:00
parent 42a2f54c9d
commit f803b2ae1f
4 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ export class BpfLoader {
*/
static get programId(): PublicKey {
return new PublicKey(
'0x8000000000000000000000000000000000000000000000000000000000000000',
'BPFLoader1111111111111111111111111111111111',
);
}

View File

@ -144,7 +144,7 @@ export class BudgetProgram {
*/
static get programId(): PublicKey {
return new PublicKey(
'0x8100000000000000000000000000000000000000000000000000000000000000',
'Budget1111111111111111111111111111111111111',
);
}

View File

@ -16,7 +16,7 @@ export class NativeLoader {
*/
static get programId(): PublicKey {
return new PublicKey(
'0x100000000000000000000000000000000000000000000000000000000000000',
'NativeLoader1111111111111111111111111111111',
);
}

View File

@ -138,7 +138,7 @@ type TokenAndPublicKey = [Token, PublicKey]; // This type exists to workaround a
* The built-in token program
*/
export const SYSTEM_TOKEN_PROGRAM_ID = new PublicKey(
'0x8300000000000000000000000000000000000000000000000000000000000000',
'Token11111111111111111111111111111111111111',
);
/**