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

zkProgram stalling on proving #1890

Open
kadirchan opened this issue Nov 7, 2024 · 3 comments
Open

zkProgram stalling on proving #1890

kadirchan opened this issue Nov 7, 2024 · 3 comments

Comments

@kadirchan
Copy link
Contributor

I made a sequencer that collects and recursively bundles them, also this sequencer runs in a docker container. But when I first build and up this container it compiles contracts and zkprograms but when it comes to proving a method of zkprogram in like this, whole app stuck in this line without throwing any error and utilizing 0% cpu and 6 GB ram (total 32 GB available).
Only way to solve this I need to restart container, it takes much lesser time to compiling again probably due to caching and this time it does not stuck in proving. Also ram usage of app reduces almost 20-30% after restarting.

@kadirchan
Copy link
Contributor Author

I'am not sure if it is related or not to starting of snarkjs backend, as I said I didn't receive any errors it just acts like #1857

@mitschabaude
Copy link
Collaborator

I'am not sure if it is related or not to starting of snarkjs backend

It's not! "Starting" that backend just means doing a dynamic import() of a big file. This is not an error-prone process, and it already must have happened before compiling. Similarly, starting the worker thread pool is also done when compiling

@kadirchan
Copy link
Contributor Author

Also found that compiling of offchainState on browser stuck too, when I was using "o1js": "https://pkg.pr.new/o1-labs/o1js@fc16ce3" I was able to compile and use them but in 1.9.1 this problems occur.
Degraded my version to commit fc16ce3 for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants