Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[contract-deploy] Macro for checking initialization nullifier in all private functions #4061

Closed
Tracked by #4052
spalladino opened this issue Jan 16, 2024 · 1 comment

Comments

@spalladino
Copy link
Collaborator

spalladino commented Jan 16, 2024

All private functions in a contract, except for the constructor, must assert the existence of the initialization nullifier. This code should be injected under the hood by the aztec macro.

Test that a private function cannot be called if the contract has not been initialized.

Note that this may break #4057.

@spalladino
Copy link
Collaborator Author

Closing as done

@github-project-automation github-project-automation bot moved this from Todo to Done in A3 Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant