-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(aztec-nr): minor public interface changes (#5776)
The purpose of this PR is to minimize the possible change surface on public interfaces, so that moving to the AVM simulator is easier. * Removed `get_header()` from PublicContext(Interface). It's currently unused, and the AVM does not support it as is. It CAN be added to the AvmContext if needed. However, as we are not using it now, and the AVM form is not clear (HEADERMEMBER? or whole header?) then it's better to discourage its use. * Moved `push_*_read_request` from PublicContextInterface to the PublicContext iself, as PRIVATE methods: These methods are currently unused, and IIUC, will not be used in the AVM. The only use case for these in current public would be to push read request in `PublicContext::nullifier_exists`. * Remove unused `createCommitment` oracle.
- Loading branch information
Showing
5 changed files
with
20 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.