From 9bbb086e65450abdc64e13e49aafa2775e9c8dc9 Mon Sep 17 00:00:00 2001 From: anim001k <140460766+anim001k@users.noreply.github.com> Date: Mon, 4 Aug 2025 14:11:02 +0200 Subject: [PATCH 1/3] Update invoke_cpi_with_read_only.rs --- .../system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs b/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs index 1acfd13797..465e15c79e 100644 --- a/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs +++ b/program-tests/system-cpi-v2-test/tests/invoke_cpi_with_read_only.rs @@ -3246,7 +3246,7 @@ pub mod local_sdk { /// If the provided `pubkey` is not a part of the collection, it gets /// inserted with a `next_index`. /// - /// If the privided `pubkey` already exists in the collection, its already + /// If the provided `pubkey` already exists in the collection, its already /// existing index is returned. pub fn insert_or_get(&mut self, pubkey: Pubkey) -> u8 { self.insert_or_get_config(pubkey, false, true) From 723c52eacee33713c88ab0027b85363f6507c99b Mon Sep 17 00:00:00 2001 From: anim001k <140460766+anim001k@users.noreply.github.com> Date: Mon, 4 Aug 2025 14:11:43 +0200 Subject: [PATCH 2/3] Update delegation.rs --- programs/compressed-token/src/delegation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/compressed-token/src/delegation.rs b/programs/compressed-token/src/delegation.rs index 99eea8eec4..1dfb32bb0e 100644 --- a/programs/compressed-token/src/delegation.rs +++ b/programs/compressed-token/src/delegation.rs @@ -35,7 +35,7 @@ pub struct CompressedTokenInstructionDataApprove { } /// Processes an approve instruction. -/// - creates an output compressed acount which is delegated to the delegate. +/// - creates an output compressed account which is delegated to the delegate. /// - creates a change account for the remaining amount (sum inputs - delegated amount). /// - ignores prior delegations. /// 1. unpack instruction data and input compressed accounts From 8f41a2435cd1973948d9fa9f6ee0794d1a79f0fc Mon Sep 17 00:00:00 2001 From: anim001k <140460766+anim001k@users.noreply.github.com> Date: Mon, 4 Aug 2025 14:12:23 +0200 Subject: [PATCH 3/3] Update layout.ts --- js/compressed-token/src/layout.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/compressed-token/src/layout.ts b/js/compressed-token/src/layout.ts index eba7faa70e..a65477d111 100644 --- a/js/compressed-token/src/layout.ts +++ b/js/compressed-token/src/layout.ts @@ -531,7 +531,7 @@ export const CompressedTokenInstructionDataRevokeLayout = struct([ u8('outputAccountMerkleTreeIndex'), ]); -// Approve and revoke instuctions do not support optional proof yet. +// Approve and revoke instructions do not support optional proof yet. const emptyProof: ValidityProof = { a: new Array(32).fill(0), b: new Array(64).fill(0),