Closed pieri93 closed 1 year ago
cargo contract build
inside packages throws this error: ERROR: Cannot infer the root project id
.
The issue was reported and according to it, cargo contract build must be used specifying the manifest-path like this:
cargo contract build --manifest-path contracts/collection/Cargo.toml
cargo contract build --manifest-path contracts/greeter/Cargo.toml
collection
andlogics
are both outside of the folderpackages
, they need to be inside and for that theCargo.toml
from root should also be moved inside packages and members in [workspace] updated.