Skip to content

Commit

Permalink
Fix allowListProof account size
Browse files Browse the repository at this point in the history
  • Loading branch information
lorisleiva committed Jul 27, 2023
1 parent a1c99e1 commit bc4fac8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/js/src/generated/accounts/allowListProof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ export function getAllowListProofGpaBuilder(
.deserializeUsing<AllowListProof>((account) =>
deserializeAllowListProof(account)
)
.whereSize(4);
.whereSize(8);
}

export function getAllowListProofSize(): number {
return 4;
return 8;
}

export function findAllowListProofPda(
Expand Down
2 changes: 1 addition & 1 deletion configs/kinobi.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ kinobi.update(
],
},
allowListProof: {
size: 4,
size: 8,
discriminator: k.sizeAccountDiscriminator(),
seeds: [
k.stringConstantSeed("allow_list"),
Expand Down

0 comments on commit bc4fac8

Please sign in to comment.