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

[BUG] Compact proof docker fails to build image #1679

Open
SantiagoPittella opened this issue Apr 16, 2024 · 2 comments
Open

[BUG] Compact proof docker fails to build image #1679

SantiagoPittella opened this issue Apr 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@SantiagoPittella
Copy link

Bug Report

While trying to follow the README.md steps in the compact_proof directory I am encountering the following circom error:

UnrecognizedToken { token: (0, Token(2, "version"), 7), expected: ["\"component\"", "\"function\"", "\"include\"", "\"pragma\"", "\"template\""] }

The issue is happening both in MacOS and Debian.

Steps to Reproduce

  1. Clone the repo.
  2. cd compact_proof
  3. docker build -f docker/prover.Dockerfile . -t risc0-groth16-prover
    OR in MacOS with ARM:
  4. docker build --platform linux/amd64 -f docker/prover.Dockerfile . -t risc0-groth16-prover

Expected behavior

The prover should start working.

Your Environment

  • risc0-zkvm version:
  • Rust version: 1.74.0
  • Platform/OS: MacOS M3 Pro Max with Sonoma 14.4.1 / Debian 12 in x86_65

Additional context

image
@SantiagoPittella SantiagoPittella added the bug Something isn't working label Apr 16, 2024
Copy link

linear bot commented Apr 16, 2024

@flaub
Copy link
Member

flaub commented Apr 23, 2024

It looks like git lfs pull needs to be run to pull down the stark_verify.circom file, which is larger than the size allowed on github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants