zkapp-cli icon indicating copy to clipboard operation
zkapp-cli copied to clipboard

Allow SmartContracts that exist deeper than the top-level src directory

Open SebastienGllmt opened this issue 2 years ago • 1 comments
trafficstars

Describe the problem

If you have multiple smart contracts in your project, you may not want all of them to appear at the top of your src folder. However, currently this isn't supported

Notably, you can see from the usage of findSmartContractToDeploy that the zkapp-cli is able to find contracts in sub folders, but then throws away this information by calling path.basename(file)

Describe the proposed solution

Update the findSmartContractToDeploy function so that instead of returning just a filename, it returns the whole path below the src directory needed to find the contract

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

SebastienGllmt avatar Dec 18 '22 12:12 SebastienGllmt

Thanks. We'll look into this.

jasongitmail avatar Jan 05 '23 16:01 jasongitmail