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
There's various fallout effects that have been adding up from the quartz cli not having a deeper awareness of the quartz app that it's being called on.
Issues relating to this include:
The quartz cli has no guarantees around the file location of contract and enclave binaries nor those directories in general. This requires the user to submit bulky manifest file paths to commands such as the build ones.
With no easy to access / configure name associated with a quartz app, it becomes hard to design a system for categorizing and differentiating cached files across quartz apps
Currently the cli does not support being called from within subdirectories of an app. Solving this means scanning the cwd path to see what quartz project its in, but this is hard to do without project names.
this may be easy to solve without other changes actually
Designs
Some directions for architectural improvement
Setting up a quartz app root repo as a workspace, inheriting project name and other information about project structure from the Cargo.toml
standardizes the target directory which makes filepaths to binaries simpler
may not be possible given the different build targets of contracts and enclave, my memory is telling me there's something related to this to consider but I need to recall what it is
Designing logic for traversing the contracts/ folder in order to handle instances of multiple contract packages. This would likely be similar to forge's logic to finding all test files
I will get back to thinking and writing about this, am tired rn but wanted to get this rolling
Acceptance Criteria
mtcs and transfers can both be used by the quartz cli with no problems and minimum user effort
The text was updated successfully, but these errors were encountered:
Summary
There's various fallout effects that have been adding up from the quartz cli not having a deeper awareness of the quartz app that it's being called on.
Issues relating to this include:
Designs
Some directions for architectural improvement
Setting up a quartz app root repo as a workspace, inheriting project name and other information about project structure from the Cargo.toml
Designing logic for traversing the
contracts/
folder in order to handle instances of multiple contract packages. This would likely be similar to forge's logic to finding all test filesI will get back to thinking and writing about this, am tired rn but wanted to get this rolling
Acceptance Criteria
The text was updated successfully, but these errors were encountered: