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

Update PXE app-siloed tag indices from contract #9368

Closed
Tracked by #9119
nventuro opened this issue Oct 23, 2024 · 1 comment · Fixed by #9573
Closed
Tracked by #9119

Update PXE app-siloed tag indices from contract #9368

nventuro opened this issue Oct 23, 2024 · 1 comment · Fixed by #9573
Assignees
Labels
C-pxe Component: PXE (Private eXecution Envrionment) team-fairies Nico's team

Comments

@nventuro
Copy link
Contributor

nventuro commented Oct 23, 2024

Once we can fetch app-siloed secrets and indices via #9365, we'll need a way to update these indices to avoid computing the same tags again in the future. This simply means passing whatever index value and storing it as the latest index for that (secret, app_address) pair.

Note that PXE needs to keep track both of the last seen recipient index as well as the last used sender index, and so methods should exist to update either of them.

In the future when this runs from aztec.nr we'll want to validate that the oracle call originated in the correct address, to avoid contracts interfering with each other secrets, but this should not be strictly required since contracts should not know about each other's app-siloed secrets.

@nventuro nventuro added C-aztec.js Component: aztec.js client library team-fairies Nico's team C-pxe Component: PXE (Private eXecution Envrionment) and removed C-aztec.js Component: aztec.js client library labels Oct 23, 2024
This was referenced Oct 23, 2024
@github-project-automation github-project-automation bot moved this to Todo in A3 Oct 28, 2024
@sklppy88 sklppy88 self-assigned this Oct 30, 2024
@sklppy88
Copy link
Contributor

sklppy88 commented Nov 1, 2024

Closed as completed by #9573

@sklppy88 sklppy88 closed this as completed Nov 1, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in A3 Nov 1, 2024
@sklppy88 sklppy88 linked a pull request Nov 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-pxe Component: PXE (Private eXecution Envrionment) team-fairies Nico's team
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants