Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make deploy work for smart contracts that depend on a ZkProgram #377

Closed
mitschabaude opened this issue Mar 8, 2023 · 0 comments · Fixed by #547
Closed

Make deploy work for smart contracts that depend on a ZkProgram #377

mitschabaude opened this issue Mar 8, 2023 · 0 comments · Fixed by #547
Assignees
Labels
product-eng For tracking our team's issues

Comments

@mitschabaude
Copy link
Contributor

Current behaviour:

zk deploy berkeley
✔ Build project
✔ Generate build.json
✔ Choose smart contract
  The 'GameOfLife' smart contract will be used
  for this deploy alias as specified in config.json.
✖ Generate verification key (takes 10-30 sec)
  Error: GameOfLife.compile() depends on Program0, but we cannot find compilation output for Program0.
Try to run Program0.compile() first.

Our deploy script compiles the SmartContract itself, but is not smart enough to compile dependencies

@mitschabaude mitschabaude added bug Something isn't working and removed bug Something isn't working labels Mar 8, 2023
@nicc nicc added the product-eng For tracking our team's issues label Mar 30, 2023
@ymekuria ymekuria self-assigned this Nov 30, 2023
@ymekuria ymekuria assigned ymekuria and unassigned ymekuria and shimkiv Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product-eng For tracking our team's issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants