pub fn mark_as_initialized_public(context: PublicContext)
Emits (only) the public initialization nullifier.
This function is called by the aztec-nr auto-generated external public contract function (enqueued by private initializer functions), and also by mark_as_initialized_from_public_initializer for public initializers.
initializer
mark_as_initialized_from_public_initializer
This should not be called manually. Incorrect use can leave the contract in a broken initialization state (e.g. emitting the public nullifier without the private one). The macro-generated code handles this automatically.
Emits (only) the public initialization nullifier.
This function is called by the aztec-nr auto-generated external public contract function (enqueued by private
initializerfunctions), and also bymark_as_initialized_from_public_initializerfor public initializers.Warning
This should not be called manually. Incorrect use can leave the contract in a broken initialization state (e.g. emitting the public nullifier without the private one). The macro-generated code handles this automatically.