You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to use our standard library of Aztec contract helper functions and structs, you need to develop your contract inside aztec-packages, by specifying the relative path to the library, in the contract's Nargo.toml.
Alternatively, Nargo also allows a GitHub url of the dependency to be provided, but the Nargo.toml of the dependency must be at the top level of the repo (whereas our noir lib is currently nested inside yarn-project/).
Is there a way to specify a filepath to the Nargo.toml, from the git repo's root?
Happy Case
A user can specify a url and filepath to the Nargo.toml file of our noir contracts library.
Alternatives Considered
We could, potentially:
Move the Nargo file to the root of aztec-packages, but that would go against our filing structure.
Move the noir contracts library into a separate repo, but that would go against our monorepo approach.
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered:
iAmMichaelConnor
changed the title
Import a git dependency by specifying a url _not_ at the repo's root.
Import a git dependency by specifying a url and filepath _not_ at the repo's root.
Aug 1, 2023
Problem
Currently, to use our standard library of Aztec contract helper functions and structs, you need to develop your contract inside
aztec-packages
, by specifying the relative path to the library, in the contract'sNargo.toml
.Alternatively, Nargo also allows a GitHub url of the dependency to be provided, but the Nargo.toml of the dependency must be at the top level of the repo (whereas our noir lib is currently nested inside
yarn-project/
).Is there a way to specify a filepath to the Nargo.toml, from the git repo's root?
Happy Case
A user can specify a url and filepath to the Nargo.toml file of our noir contracts library.
Alternatives Considered
We could, potentially:
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: