Emitting an unencrypted log from a private function removes all of the 'function hiding' properties that the Aztec architecture strives for. It's 'bad practice' that oughtn't be exemplified.
Please remove these logs :)
Hopefully the example apps don't 'subscribe' to unencrypted logs in any way.
Example:
|
emit_unencrypted_log(&mut context, "Coins transferred"); |
Emitting an unencrypted log from a private function removes all of the 'function hiding' properties that the Aztec architecture strives for. It's 'bad practice' that oughtn't be exemplified.
Please remove these logs :)
Hopefully the example apps don't 'subscribe' to unencrypted logs in any way.
Example:
aztec-packages/yarn-project/noir-contracts/src/contracts/private_token_contract/src/main.nr
Line 89 in a78d939