Skip to content

Commit

Permalink
update instruction docs to mention the possibility to read from accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
samkim-crypto committed Apr 20, 2024
1 parent fd3f0cc commit 9f6ae10
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions zk-token-sdk/src/zk_token_proof_instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,9 @@ pub enum ProofInstruction {
/// * Otherwise
/// None
///
/// Data expected by this instruction:
/// `GroupedCiphertextValidityProofContext`
/// The instruction expects either:
/// i. `GroupedCiphertext3HandlesValidityProofData` if proof is provided as instruction data
/// ii. `u32` byte offset if proof is provided as an account
///
VerifyGroupedCiphertext3HandlesValidity,

Expand All @@ -343,8 +344,9 @@ pub enum ProofInstruction {
/// * Otherwise
/// None
///
/// Data expected by this instruction:
/// `BatchedGroupedCiphertextValidityProofContext`
/// The instruction expects either:
/// i. `BatchedGroupedCiphertext3HandlesValidityProofData` if proof is provided as instruction data
/// ii. `u32` byte offset if proof is provided as an account
///
VerifyBatchedGroupedCiphertext3HandlesValidity,
}
Expand Down

0 comments on commit 9f6ae10

Please sign in to comment.