Skip to content

Aztec Nargo Compile Crashing #18

Open

Description

@envoy1084

Issue Description

when I run aztec-nargo compile, it crashes after running for ~5mins, I have multiple crates in my workspace it only crashes for a specific crate where I am performing a zkemail verification and string search on a large body (14k length).

The Docker instance doesn't show any logs when compiling.

It may be time limit of resource limit because docker is accessing only one core of CPU. When i try to remove some lines of code like body hash check it is compiling after ~5m, so maybe this is some timeout problem.

Project Context

Project Name: Aztec Passport

Challenge: ZKEmail Guardian

GitHub Repository:

Environment

Aztec Version: 0.57.0

Noir Version (if applicable):

nargo version = 0.35.0
noirc version = 0.35.0+2a0d211b92d002fa75855d4ba27267f8892dd52c
(git version hash: 2a0d211b92d002fa75855d4ba27267f8892dd52c, is dirty: false)

Operating System: MacOS 15.0.1 (24A348)

Expected Behavior

Contract should compile successfully.

Actual Behavior

Compilation Crashes

Code Snippet

// If applicable, add a minimal code snippet that demonstrates the issue

Error Messages

No Logs in docker Image

Activity

  1. NikolayKostadinov21 commented on Oct 25, 2024

    @NikolayKostadinov21
    Contributor

    Could you provide more information about the smart contracts and their dependencies that you’re trying to compile with aztec-nargo compile? A code snippet would be helpful, or even better, a link to the repository so I can run them on my Ubuntu 24 setup. The issue could be due to a variety of factors. it could be even related to the fact that you are using MacOS. Didn't see any commits to your ab2 fork, so that's why I am asking.

  2. envoy1084 commented on Oct 25, 2024

    @envoy1084
    ContributorAuthor
  3. 0xrafi commented on Nov 4, 2024

    @0xrafi
    Contributor

    have you tried this after updating to the latest version of the sandbox?

  4. envoy1084 commented on Nov 7, 2024

    @envoy1084
    ContributorAuthor

    Hey @0xrafi I tried the 0.62.0 version of sandbox but some packages needed for compilation such as noir_string_search and zkemailnr throw errors while compilation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions