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

Public data reads and update requests in public kernel #3675

Open
sirasistant opened this issue Dec 13, 2023 · 0 comments
Open

Public data reads and update requests in public kernel #3675

sirasistant opened this issue Dec 13, 2023 · 0 comments
Assignees
Labels
circuits feature New feature or request

Comments

@sirasistant
Copy link
Contributor

For a given TX, after its public kernel executions:

  • All public data reads should refer to the state previous to the tx. All other public data reads are transient and can be simplified out.
  • The public data writes should at most write once per slot. All duplicated writes can be simplified out and leave just the last one.
  • The public data writes exposed to the base rollup should not include the old value, since it won't verify the old value. It's fine to use it as a hint to the public kernel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
circuits feature New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants