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

feat: Port callstack resolution from aztec to noirjs #7642

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

sirasistant
Copy link
Contributor

Description

Problem*

NoirJS didn't resolve noir callstacks, which is important to give the same devex when using JS tooling as when using nargo.

Summary*

Adds callstack resolution to noir js, which was missing. The code has been ported from the aztec codebase.

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@sirasistant sirasistant requested a review from TomAFrench March 10, 2025 12:58
TomAFrench and others added 3 commits March 12, 2025 15:24
* master:
  chore: update yarn version to 4.5.2 (#7678)
  chore: migrate to use new flat eslint config file (#7676)
  chore: bump JS dependencies (#7669)
  chore: bump wasm-pack to 0.13.1 (#7675)
  chore: bump node to v22.18.3 (#7668)
  chore!: make `ResolverError::UnnecessaryPub` a hard error (#7664)
  fix: correctly format let followed by comment before unsafe (#7659)
  chore: bump external pinned commits (#7667)
  chore: fixing timeouts (#7666)
  chore(ssa): Do not print entire functions in underconstrained values check trace (#7665)
  chore(ci): Exclude enum tests from Brillig reports (#7661)
  chore: add regression tests for PR #7570 from lambda interpreter test (#7638)
  chore: remove some unused HIR code (#7643)
  chore: update examples to use UltraHonk (#7653)
  fix: allow method call after block, if and match (#7655)
  chore: address recurring typo in docs (#7656)
  fix(ssa): don't check Brillig calls for coverage if they don't return anything (e.g. println) (#7644)
  chore: bump external pinned commits (#7640)
@TomAFrench
Copy link
Member

Looks like there's a bunch of type errors here. Can look at it later.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Test Suite Duration'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: ea205b1 Previous: 6723aec Ratio
zkemail_noir-jwt_ 5 s 2 s 2.50

This comment was automatically generated by workflow using github-action-benchmark.

CC: @TomAFrench

@sirasistant
Copy link
Contributor Author

Oh, they are not caught by CI?

@TomAFrench
Copy link
Member

Seems like it wasn't

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 7.8 kB types

View full report↗︎

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

Successfully merging this pull request may close these issues.

3 participants