o1-labs / zkapp-cli

CLI to create a zkApp (zero-knowledge app) for Mina Protocol
https://docs.minaprotocol.com/zkapps/how-to-write-a-zkapp
Apache License 2.0
115 stars 43 forks source link

Investigate `ZKON-Network` deployment issue using `zkapp-cli`. #653

Closed shimkiv closed 3 months ago

shimkiv commented 3 months ago

Discord. Most likely caused by something related to: https://github.com/o1-labs/zkapp-cli/pull/640

shimkiv commented 3 months ago

The issue will be gone if one will update to latest o1js (the v1.2.0 as of today). Problem here is that one is using the o1js v0.17.0 and in its package.json it is referencing main entry point as: "main": "./dist/web/index.js", (which is no longer the case for the latest version).

The workaround might be to:

While the workarounds will fix the sources parsing issues, we still need to provide correct supports of such cases!