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

feat(Aztec.nr): Auto import all crucial imports from the aztec library required when using the macros #1888

Closed
Maddiaa0 opened this issue Aug 30, 2023 · 0 comments · Fixed by #1901 or noir-lang/noir#2492
Labels
C-aztec.nr Component: Aztec smart contract framework

Comments

@Maddiaa0
Copy link
Member

Maddiaa0 commented Aug 30, 2023

Currently; compilation will fail if the user has not included imports to the structures required. The following imports are required:

use aztec::abi;
use aztec::abi::{
         Hasher,
         PrivateContextInputs,
         PublicContextInputs
};
use aztec::context::{
     PublicContext,
     PrivateContext
};

Compilation fails without this, and should be hidden

Tracked by #1891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-aztec.nr Component: Aztec smart contract framework
Projects
Archived in project
2 participants