From 2b79a376e2790ab048d392eb98bdc089dd59b724 Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Fri, 12 Apr 2024 18:29:41 +0200 Subject: [PATCH] chore: Regenerate IDL (#596) --- .../src/idls/account_compression.ts | 102 ++++++++++++++---- 1 file changed, 84 insertions(+), 18 deletions(-) diff --git a/js/stateless.js/src/idls/account_compression.ts b/js/stateless.js/src/idls/account_compression.ts index a21ad24351..f0951b88f4 100644 --- a/js/stateless.js/src/idls/account_compression.ts +++ b/js/stateless.js/src/idls/account_compression.ts @@ -99,6 +99,26 @@ export type AccountCompression = { }, ]; args: [ + { + name: 'index'; + type: 'u64'; + }, + { + name: 'owner'; + type: 'publicKey'; + }, + { + name: 'delegate'; + type: { + option: 'publicKey'; + }; + }, + { + name: 'associatedMerkleTree'; + type: { + option: 'publicKey'; + }; + }, { name: 'capacityIndices'; type: 'u16'; @@ -169,14 +189,10 @@ export type AccountCompression = { isSigner: true; }, { - name: 'queue'; - isMut: true; - isSigner: false; - }, - { - name: 'merkleTree'; - isMut: true; + name: 'registeredProgramPda'; + isMut: false; isSigner: false; + isOptional: true; }, ]; args: [ @@ -651,7 +667,24 @@ export type AccountCompression = { name: 'addressQueueAccount'; type: { kind: 'struct'; - fields: []; + fields: [ + { + name: 'index'; + type: 'u64'; + }, + { + name: 'owner'; + type: 'publicKey'; + }, + { + name: 'delegate'; + type: 'publicKey'; + }, + { + name: 'associatedMerkleTree'; + type: 'publicKey'; + }, + ]; }; }, { @@ -696,7 +729,7 @@ export type AccountCompression = { { name: 'merkleTreeChangelog'; type: { - array: ['u8', 1041600]; + array: ['u8', 1220800]; }; }, { @@ -1098,6 +1131,26 @@ export const IDL: AccountCompression = { }, ], args: [ + { + name: 'index', + type: 'u64', + }, + { + name: 'owner', + type: 'publicKey', + }, + { + name: 'delegate', + type: { + option: 'publicKey', + }, + }, + { + name: 'associatedMerkleTree', + type: { + option: 'publicKey', + }, + }, { name: 'capacityIndices', type: 'u16', @@ -1168,14 +1221,10 @@ export const IDL: AccountCompression = { isSigner: true, }, { - name: 'queue', - isMut: true, - isSigner: false, - }, - { - name: 'merkleTree', - isMut: true, + name: 'registeredProgramPda', + isMut: false, isSigner: false, + isOptional: true, }, ], args: [ @@ -1650,7 +1699,24 @@ export const IDL: AccountCompression = { name: 'addressQueueAccount', type: { kind: 'struct', - fields: [], + fields: [ + { + name: 'index', + type: 'u64', + }, + { + name: 'owner', + type: 'publicKey', + }, + { + name: 'delegate', + type: 'publicKey', + }, + { + name: 'associatedMerkleTree', + type: 'publicKey', + }, + ], }, }, { @@ -1695,7 +1761,7 @@ export const IDL: AccountCompression = { { name: 'merkleTreeChangelog', type: { - array: ['u8', 1041600], + array: ['u8', 1220800], }, }, {