Skip to content

Noir contract examples: don't emit unencrypted logs from private functions! #1689

@iAmMichaelConnor

Description

@iAmMichaelConnor

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");

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions