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

Remove direct calls to public functions #663

Closed
spalladino opened this issue May 23, 2023 · 0 comments · Fixed by #852
Closed

Remove direct calls to public functions #663

spalladino opened this issue May 23, 2023 · 0 comments · Fixed by #852
Assignees

Comments

@spalladino
Copy link
Collaborator

All txs will now start from a private entrypoint. Remove the ability to directly call a public function. This means removing the PublicTx type in a tx, as well as the flow in the PublicProcessor that uses the public kernel circuit with no previous kernel (remove that circuit as well).

Also, since txs will always have a private component, the tx hash will always be available as a first nullifier, so we can simplify the getTxHash method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant