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

Add contract address validations to token contracts #1009

Closed
PhilWindle opened this issue Jul 10, 2023 · 1 comment · Fixed by #1083
Closed

Add contract address validations to token contracts #1009

PhilWindle opened this issue Jul 10, 2023 · 1 comment · Fixed by #1083
Assignees

Comments

@PhilWindle
Copy link
Collaborator

In the same way as we constrain the contract address in the account contracts, we should update the token contracts to constrain the public keys used for note encryption.

Interfaces that currently take a 'Point' for things like 'sender' and 'recipient' should take an Aztec address. This will need to be resolved via oracle call to a 'Point' and `partialContractAddress'. The contract should reproduce the Aztec address from the oracle values and constrain it against that which has been provided.

@PhilWindle PhilWindle added this to A3 Jul 10, 2023
@PhilWindle PhilWindle converted this from a draft issue Jul 10, 2023
@spalladino
Copy link
Collaborator

Depends on #857

@spalladino spalladino moved this from Todo to In Progress in A3 Jul 14, 2023
@spalladino spalladino self-assigned this Jul 14, 2023
@spalladino spalladino moved this from In Progress to In Review in A3 Jul 18, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in A3 Jul 19, 2023
@iAmMichaelConnor iAmMichaelConnor removed this from A3 Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants