Add additional zkp for fee (#23112)
* zk-token-sdk: add equality proof for fee * zk-token-sdk: tweak some naming conventions for readability * zk-token-sdk: add verify withdraw withheld instruction * zk-token-sdk: add test for withdraw withheld verification * zk-token-sdk: more renaming of variables for readability * zk-token-sdk: cargo fmt * zk-token-sdk: minor * zk-token-sdk: resolve bpf compilation warnings * zk-token-sdk: minor update to doc
This commit is contained in:
@ -49,6 +49,10 @@ pub fn process_instruction(
|
||||
ic_msg!(invoke_context, "VerifyWithdraw");
|
||||
verify::<WithdrawData>(input, invoke_context)
|
||||
}
|
||||
ProofInstruction::VerifyWithdrawWithheldTokens => {
|
||||
ic_msg!(invoke_context, "VerifyWithdraw");
|
||||
verify::<WithdrawData>(input, invoke_context)
|
||||
}
|
||||
ProofInstruction::VerifyTransfer => {
|
||||
ic_msg!(invoke_context, "VerifyTransfer");
|
||||
verify::<TransferData>(input, invoke_context)
|
||||
|
Reference in New Issue
Block a user