Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 408a1bb

Browse files
build(deps-dev): bump prettier from 3.2.2 to 3.2.4 (#6143)
* build(deps-dev): bump prettier from 3.2.2 to 3.2.4 Bumps [prettier](https://github.com/prettier/prettier) from 3.2.2 to 3.2.4. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.2.2...3.2.4) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Run prettier:fix on all packages * Fixup error type --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon Cinque <[email protected]>
1 parent e6ff525 commit 408a1bb

40 files changed

+114
-112
lines changed

account-compression/sdk/src/accounts/ConcurrentMerkleTreeAccount.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class ConcurrentMerkleTreeAccount {
3030
static async fromAccountAddress(
3131
connection: Connection,
3232
publicKey: PublicKey,
33-
commitmentOrConfig?: Commitment | GetAccountInfoConfig
33+
commitmentOrConfig?: Commitment | GetAccountInfoConfig,
3434
): Promise<ConcurrentMerkleTreeAccount> {
3535
const account = await connection.getAccountInfo(publicKey, commitmentOrConfig);
3636
if (!account) {
@@ -149,7 +149,7 @@ function deserializeConcurrentMerkleTree(buffer: Buffer): ConcurrentMerkleTreeAc
149149
const header = versionedHeader.header.fields[0];
150150
const [tree, offsetIncr2] = concurrentMerkleTreeBeetFactory(header.maxDepth, header.maxBufferSize).deserialize(
151151
buffer,
152-
offset
152+
offset,
153153
);
154154
offset = offsetIncr2;
155155

@@ -181,7 +181,7 @@ export function getConcurrentMerkleTreeAccountSize(
181181
maxDepth: number,
182182
maxBufferSize: number,
183183
canopyDepth?: number,
184-
headerVersion = 'V1'
184+
headerVersion = 'V1',
185185
): number {
186186
if (headerVersion != 'V1') {
187187
throw Error('Unsupported header version');

account-compression/sdk/src/generated/errors/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class ConcurrentMerkleTreeConstantsErrorError extends Error {
9191
createErrorFromCodeLookup.set(0x1773, () => new ConcurrentMerkleTreeConstantsErrorError());
9292
createErrorFromNameLookup.set(
9393
'ConcurrentMerkleTreeConstantsError',
94-
() => new ConcurrentMerkleTreeConstantsErrorError()
94+
() => new ConcurrentMerkleTreeConstantsErrorError(),
9595
);
9696

9797
/**

account-compression/sdk/src/generated/instructions/append.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const appendStruct = new beet.BeetArgsStruct<
3030
['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],
3131
['leaf', beet.uniformFixedSizeArray(beet.u8, 32)],
3232
],
33-
'AppendInstructionArgs'
33+
'AppendInstructionArgs',
3434
);
3535
/**
3636
* Accounts required by the _append_ instruction
@@ -64,7 +64,7 @@ export const appendInstructionDiscriminator = [149, 120, 18, 222, 236, 225, 88,
6464
export function createAppendInstruction(
6565
accounts: AppendInstructionAccounts,
6666
args: AppendInstructionArgs,
67-
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK')
67+
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK'),
6868
) {
6969
const [data] = appendStruct.serialize({
7070
instructionDiscriminator: appendInstructionDiscriminator,

account-compression/sdk/src/generated/instructions/closeEmptyTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const closeEmptyTreeInstructionDiscriminator = [50, 14, 219, 107, 78, 103
4545
*/
4646
export function createCloseEmptyTreeInstruction(
4747
accounts: CloseEmptyTreeInstructionAccounts,
48-
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK')
48+
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK'),
4949
) {
5050
const [data] = closeEmptyTreeStruct.serialize({
5151
instructionDiscriminator: closeEmptyTreeInstructionDiscriminator,

account-compression/sdk/src/generated/instructions/initEmptyMerkleTree.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const initEmptyMerkleTreeStruct = new beet.BeetArgsStruct<
3232
['maxDepth', beet.u32],
3333
['maxBufferSize', beet.u32],
3434
],
35-
'InitEmptyMerkleTreeInstructionArgs'
35+
'InitEmptyMerkleTreeInstructionArgs',
3636
);
3737
/**
3838
* Accounts required by the _initEmptyMerkleTree_ instruction
@@ -66,7 +66,7 @@ export const initEmptyMerkleTreeInstructionDiscriminator = [191, 11, 119, 7, 180
6666
export function createInitEmptyMerkleTreeInstruction(
6767
accounts: InitEmptyMerkleTreeInstructionAccounts,
6868
args: InitEmptyMerkleTreeInstructionArgs,
69-
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK')
69+
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK'),
7070
) {
7171
const [data] = initEmptyMerkleTreeStruct.serialize({
7272
instructionDiscriminator: initEmptyMerkleTreeInstructionDiscriminator,

account-compression/sdk/src/generated/instructions/insertOrAppend.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const insertOrAppendStruct = new beet.BeetArgsStruct<
3434
['leaf', beet.uniformFixedSizeArray(beet.u8, 32)],
3535
['index', beet.u32],
3636
],
37-
'InsertOrAppendInstructionArgs'
37+
'InsertOrAppendInstructionArgs',
3838
);
3939
/**
4040
* Accounts required by the _insertOrAppend_ instruction
@@ -68,7 +68,7 @@ export const insertOrAppendInstructionDiscriminator = [6, 42, 50, 190, 51, 109,
6868
export function createInsertOrAppendInstruction(
6969
accounts: InsertOrAppendInstructionAccounts,
7070
args: InsertOrAppendInstructionArgs,
71-
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK')
71+
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK'),
7272
) {
7373
const [data] = insertOrAppendStruct.serialize({
7474
instructionDiscriminator: insertOrAppendInstructionDiscriminator,

account-compression/sdk/src/generated/instructions/replaceLeaf.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const replaceLeafStruct = new beet.BeetArgsStruct<
3636
['newLeaf', beet.uniformFixedSizeArray(beet.u8, 32)],
3737
['index', beet.u32],
3838
],
39-
'ReplaceLeafInstructionArgs'
39+
'ReplaceLeafInstructionArgs',
4040
);
4141
/**
4242
* Accounts required by the _replaceLeaf_ instruction
@@ -70,7 +70,7 @@ export const replaceLeafInstructionDiscriminator = [204, 165, 76, 100, 73, 147,
7070
export function createReplaceLeafInstruction(
7171
accounts: ReplaceLeafInstructionAccounts,
7272
args: ReplaceLeafInstructionArgs,
73-
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK')
73+
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK'),
7474
) {
7575
const [data] = replaceLeafStruct.serialize({
7676
instructionDiscriminator: replaceLeafInstructionDiscriminator,

account-compression/sdk/src/generated/instructions/transferAuthority.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const transferAuthorityStruct = new beet.BeetArgsStruct<
3131
['instructionDiscriminator', beet.uniformFixedSizeArray(beet.u8, 8)],
3232
['newAuthority', beetSolana.publicKey],
3333
],
34-
'TransferAuthorityInstructionArgs'
34+
'TransferAuthorityInstructionArgs',
3535
);
3636
/**
3737
* Accounts required by the _transferAuthority_ instruction
@@ -63,7 +63,7 @@ export const transferAuthorityInstructionDiscriminator = [48, 169, 76, 72, 229,
6363
export function createTransferAuthorityInstruction(
6464
accounts: TransferAuthorityInstructionAccounts,
6565
args: TransferAuthorityInstructionArgs,
66-
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK')
66+
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK'),
6767
) {
6868
const [data] = transferAuthorityStruct.serialize({
6969
instructionDiscriminator: transferAuthorityInstructionDiscriminator,

account-compression/sdk/src/generated/instructions/verifyLeaf.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const verifyLeafStruct = new beet.BeetArgsStruct<
3434
['leaf', beet.uniformFixedSizeArray(beet.u8, 32)],
3535
['index', beet.u32],
3636
],
37-
'VerifyLeafInstructionArgs'
37+
'VerifyLeafInstructionArgs',
3838
);
3939
/**
4040
* Accounts required by the _verifyLeaf_ instruction
@@ -64,7 +64,7 @@ export const verifyLeafInstructionDiscriminator = [124, 220, 22, 223, 104, 10, 2
6464
export function createVerifyLeafInstruction(
6565
accounts: VerifyLeafInstructionAccounts,
6666
args: VerifyLeafInstructionArgs,
67-
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK')
67+
programId = new web3.PublicKey('cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK'),
6868
) {
6969
const [data] = verifyLeafStruct.serialize({
7070
instructionDiscriminator: verifyLeafInstructionDiscriminator,

account-compression/sdk/src/generated/types/AccountCompressionEvent.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export type AccountCompressionEventRecord = {
3737
export type AccountCompressionEvent = beet.DataEnumKeyAsKind<AccountCompressionEventRecord>;
3838

3939
export const isAccountCompressionEventChangeLog = (
40-
x: AccountCompressionEvent
40+
x: AccountCompressionEvent,
4141
): x is AccountCompressionEvent & { __kind: 'ChangeLog' } => x.__kind === 'ChangeLog';
4242
export const isAccountCompressionEventApplicationData = (
43-
x: AccountCompressionEvent
43+
x: AccountCompressionEvent,
4444
): x is AccountCompressionEvent & { __kind: 'ApplicationData' } => x.__kind === 'ApplicationData';
4545

4646
/**
@@ -52,14 +52,14 @@ export const accountCompressionEventBeet = beet.dataEnum<AccountCompressionEvent
5252
'ChangeLog',
5353
new beet.FixableBeetArgsStruct<AccountCompressionEventRecord['ChangeLog']>(
5454
[['fields', beet.tuple([changeLogEventBeet])]],
55-
'AccountCompressionEventRecord["ChangeLog"]'
55+
'AccountCompressionEventRecord["ChangeLog"]',
5656
),
5757
],
5858
[
5959
'ApplicationData',
6060
new beet.FixableBeetArgsStruct<AccountCompressionEventRecord['ApplicationData']>(
6161
[['fields', beet.tuple([applicationDataEventBeet])]],
62-
'AccountCompressionEventRecord["ApplicationData"]'
62+
'AccountCompressionEventRecord["ApplicationData"]',
6363
),
6464
],
6565
]) as beet.FixableBeet<AccountCompressionEvent>;

0 commit comments

Comments
 (0)