From 4bb0b7d884bade205e6b8605ff668dbb12b4e076 Mon Sep 17 00:00:00 2001 From: benesjan Date: Wed, 13 Nov 2024 19:02:48 +0000 Subject: [PATCH] WIP --- .../noir-contracts/contracts/token_contract/src/main.nr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/noir-projects/noir-contracts/contracts/token_contract/src/main.nr b/noir-projects/noir-contracts/contracts/token_contract/src/main.nr index 881ea688593..912454a55d2 100644 --- a/noir-projects/noir-contracts/contracts/token_contract/src/main.nr +++ b/noir-projects/noir-contracts/contracts/token_contract/src/main.nr @@ -667,6 +667,8 @@ contract Token { )); // 4. We prepare the partial notes + // TODO(#9887): In each `_prepare_transfer_to_private` call we fetch the user's ovpk_m 2 more times. This is + // very inefficient. let fee_payer_point_slot = _prepare_transfer_to_private(user, fee_payer, &mut context, storage); let user_point_slot = _prepare_transfer_to_private(user, user, &mut context, storage);