fix: update program ids

This commit is contained in:
Michael Vines
2018-10-26 20:57:00 -07:00
parent ad43705124
commit ec2a3690b2
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ export class BpfLoader {
* Public key that identifies the BpfLoader * Public key that identifies the BpfLoader
*/ */
static get programId(): PublicKey { static get programId(): PublicKey {
return new PublicKey('0x0606060606060606060606060606060606060606060606060606060606060606'); return new PublicKey('0x8000000000000000000000000000000000000000000000000000000000000000');
} }
/** /**

View File

@ -142,7 +142,7 @@ export class BudgetProgram {
* Public key that identifies the Budget program * Public key that identifies the Budget program
*/ */
static get programId(): PublicKey { static get programId(): PublicKey {
return new PublicKey('0x100000000000000000000000000000000000000000000000000000000000000'); return new PublicKey('0x8100000000000000000000000000000000000000000000000000000000000000');
} }
/** /**

View File

@ -15,7 +15,7 @@ export class NativeLoader {
* Public key that identifies the NativeLoader * Public key that identifies the NativeLoader
*/ */
static get programId(): PublicKey { static get programId(): PublicKey {
return new PublicKey('0x0202020202020202020202020202020202020202020202020202020202020202'); return new PublicKey('0x100000000000000000000000000000000000000000000000000000000000000');
} }
/** /**

View File

@ -136,7 +136,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('0x500000000000000000000000000000000000000000000000000000000000000'); export const SYSTEM_TOKEN_PROGRAM_ID = new PublicKey('0x8300000000000000000000000000000000000000000000000000000000000000');
/** /**
* An ERC20-like Token * An ERC20-like Token