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

Compiler Panic when running tests #69

Open
kashbrti opened this issue Dec 5, 2024 · 0 comments
Open

Compiler Panic when running tests #69

kashbrti opened this issue Dec 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kashbrti
Copy link
Contributor

kashbrti commented Dec 5, 2024

Aim

I'm having a compiler panic when trying to run tests that move __invmod to native rust code.

Expected Behavior

The test is not even running because the compiler panics.
Interestingly enough, when the oracle is returning badly formatted values the panic doesn't happen (the test doesn't pass).

Bug

Image

To Reproduce

  1. Switch to the reproduction branch git checkout kb/failing_oracle
  2. git pull
  3. switch the rust oracle directory cd oracle
  4. run the rust RPC server cargo build && RUST_LOG=info cargo run
  5. move back to the main dir cd ..
  6. run the divmod test with the correct Oracle resolver
  7. nargo test invmod --oracle-resolver http://127.0.0.1:3000

Workaround

None

Workaround Description

No response

Additional Context

No response

Project Impact

None

Blocker Context

No response

Nargo Version

nargo version 0.37.0, 1.0.0-beta.0 , and nightly

NoirJS Version

No response

Proving Backend Tooling & Version

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@kashbrti kashbrti added the bug Something isn't working label Dec 5, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Dec 5, 2024
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
Status: 📋 Backlog
Development

No branches or pull requests

2 participants