Skip to content

Commit

Permalink
chore: update idls (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-block authored Sep 9, 2024
1 parent 1ca3e00 commit 547a13d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 26 deletions.
4 changes: 2 additions & 2 deletions js/compressed-token/src/idl/light_compressed_token.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type LightCompressedToken = {
version: '0.7.0';
version: '0.8.0';
name: 'light_compressed_token';
instructions: [
{
Expand Down Expand Up @@ -1570,7 +1570,7 @@ export type LightCompressedToken = {
];
};
export const IDL: LightCompressedToken = {
version: '0.7.0',
version: '0.8.0',
name: 'light_compressed_token',
instructions: [
{
Expand Down
8 changes: 4 additions & 4 deletions js/stateless.js/src/idls/account_compression.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type AccountCompression = {
version: '0.7.0';
version: '0.8.0';
name: 'account_compression';
constants: [
{
Expand Down Expand Up @@ -371,7 +371,7 @@ export type AccountCompression = {
{
name: 'programToBeRegistered';
isMut: false;
isSigner: false;
isSigner: true;
},
{
name: 'registeredProgramPda';
Expand Down Expand Up @@ -1169,7 +1169,7 @@ export type AccountCompression = {
};

export const IDL: AccountCompression = {
version: '0.7.0',
version: '0.8.0',
name: 'account_compression',
constants: [
{
Expand Down Expand Up @@ -1541,7 +1541,7 @@ export const IDL: AccountCompression = {
{
name: 'programToBeRegistered',
isMut: false,
isSigner: false,
isSigner: true,
},
{
name: 'registeredProgramPda',
Expand Down
4 changes: 2 additions & 2 deletions js/stateless.js/src/idls/light_compressed_token.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type LightCompressedToken = {
version: '0.7.0';
version: '0.8.0';
name: 'light_compressed_token';
instructions: [
{
Expand Down Expand Up @@ -1570,7 +1570,7 @@ export type LightCompressedToken = {
];
};
export const IDL: LightCompressedToken = {
version: '0.7.0',
version: '0.8.0',
name: 'light_compressed_token',
instructions: [
{
Expand Down
24 changes: 8 additions & 16 deletions js/stateless.js/src/idls/light_registry.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type LightRegistry = {
version: '0.7.0';
version: '0.8.0';
name: 'light_registry';
constants: [
{
Expand Down Expand Up @@ -35,10 +35,6 @@ export type LightRegistry = {
name: 'authority';
isMut: false;
isSigner: true;
docs: [
'The authority should be updated to a different keypair after',
'initialization.',
];
},
{
name: 'protocolConfigPda';
Expand Down Expand Up @@ -146,7 +142,7 @@ export type LightRegistry = {
{
name: 'programToBeRegistered';
isMut: false;
isSigner: false;
isSigner: true;
docs: [
'- is signer so that only the program deployer can register a program.',
];
Expand Down Expand Up @@ -1278,11 +1274,11 @@ export type LightRegistry = {
},
{
code: 6021;
name: 'GetLatestedRegisterEpochFailed';
name: 'GetLatestRegisterEpochFailed';
},
{
code: 6022;
name: 'GetLatestActiveEpochFailed';
name: 'GetCurrentActiveEpochFailed';
},
{
code: 6023;
Expand All @@ -1296,7 +1292,7 @@ export type LightRegistry = {
};

export const IDL: LightRegistry = {
version: '0.7.0',
version: '0.8.0',
name: 'light_registry',
constants: [
{
Expand Down Expand Up @@ -1332,10 +1328,6 @@ export const IDL: LightRegistry = {
name: 'authority',
isMut: false,
isSigner: true,
docs: [
'The authority should be updated to a different keypair after',
'initialization.',
],
},
{
name: 'protocolConfigPda',
Expand Down Expand Up @@ -1443,7 +1435,7 @@ export const IDL: LightRegistry = {
{
name: 'programToBeRegistered',
isMut: false,
isSigner: false,
isSigner: true,
docs: [
'- is signer so that only the program deployer can register a program.',
],
Expand Down Expand Up @@ -2575,11 +2567,11 @@ export const IDL: LightRegistry = {
},
{
code: 6021,
name: 'GetLatestedRegisterEpochFailed',
name: 'GetLatestRegisterEpochFailed',
},
{
code: 6022,
name: 'GetLatestActiveEpochFailed',
name: 'GetCurrentActiveEpochFailed',
},
{
code: 6023,
Expand Down
4 changes: 2 additions & 2 deletions js/stateless.js/src/idls/light_system_program.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type LightSystemProgram = {
version: '0.7.0';
version: '0.8.0';
name: 'light_system_program';
constants: [
{
Expand Down Expand Up @@ -1064,7 +1064,7 @@ export type LightSystemProgram = {
};

export const IDL: LightSystemProgram = {
version: '0.7.0',
version: '0.8.0',
name: 'light_system_program',
constants: [
{
Expand Down

0 comments on commit 547a13d

Please sign in to comment.