Open iam-dev opened 6 months ago
Build folder structure:
Thanks for bringing this up @iam-dev. We will take a look at this. Are you experiencing the same problem if all your contracts are directly in the src folder and not nested? Did you enter zk config
before entering zk deploy
?
No, this works fine under src folder
I can confirm this issue is still present on version 0.18.0
. I also had to move the contract to the top level src
folder to solve this issue.
The source of the issue seems to be the usage of basename
which should probably be resolve
in order to use absolute paths:
@iam-dev Could you confirm if this issue is still occurring? I tried to reproduce it but couldn't encounter the problem. As long as I include the zkApp name in config.json
, it deploys successfully, even when located in a nested folder.
Describe the bug
I'm trying to deploy a smart contract within a folder. Folder structure:
Command:
Error:
Steps to Reproduce
1) Create a smart contract within a new folder. 2) zk deploy 3) choose the new smart contract 4) Error occurred
System Info
Severity
serious, but I can work around it
Additional Information
No response