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

fix: #5051 PR comments #3

Merged

Conversation

anaPerezGhiglia
Copy link
Member

@anaPerezGhiglia anaPerezGhiglia commented Jun 17, 2024

PR for addressing comments on noir-lang#5051

Copy link

Thank you for your contribution to the Noir language.

Please do not force push to this branch after the Noir team have started review of this PR. Doing so will only delay us merging your PR as we will need to start the review process from scratch.

Thanks for your understanding.

@anaPerezGhiglia anaPerezGhiglia force-pushed the spinoff/4824-multiple-acir-calls branch 3 times, most recently from 6437929 to 1f50548 Compare June 18, 2024 22:48
@anaPerezGhiglia anaPerezGhiglia force-pushed the spinoff/4824-multiple-acir-calls branch from 1f50548 to 510c938 Compare June 21, 2024 17:44
@anaPerezGhiglia anaPerezGhiglia force-pushed the spinoff/4824-multiple-acir-calls branch from 510c938 to 613a4f3 Compare June 21, 2024 18:04
@anaPerezGhiglia anaPerezGhiglia changed the title Internal #5051 fixups fix: #5051 PR comments Jun 21, 2024
@anaPerezGhiglia anaPerezGhiglia marked this pull request as ready for review June 21, 2024 18:08
@anaPerezGhiglia
Copy link
Member Author

@ggiraldez @mverzilli I added some explanatory comments but I'm not confident about them, so feel free to suggest to change them completely

tooling/debugger/src/context.rs Outdated Show resolved Hide resolved
tooling/debugger/src/context.rs Outdated Show resolved Hide resolved
tooling/debugger/src/context.rs Outdated Show resolved Hide resolved
* improve descriptive comments

Co-authored-by: ggiraldez <[email protected]>
Copy link
Member

@ggiraldez ggiraldez left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

Comment on lines 33 to 37
// The purpose of this structure is to map the opcode locations in ACIR circuits into
// a flat contiguous address space to be able to expose them to the DAP interface.
// In this address space, the ACIR circuits are laid out one after the other, and
// Brillig functions called from such circuits are expanded inline, replacing
// the `BrilligCall` ACIR opcode.
Copy link
Member

Choose a reason for hiding this comment

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

Oh, you can move this above the #[derive()] annotation above so it applies to the whole structure. I think you can also use /// (triple slashes) for the documentation system to pick it up.

// the `BrilligCall` ACIR opcode.
//
// `addresses: Vec<Vec<usize>>``
// * The first vec is `n` sized - one element per ACIR circuit
Copy link
Member

Choose a reason for hiding this comment

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

Minor nitpick: first -> outer

@anaPerezGhiglia anaPerezGhiglia merged commit 7e882df into feat/4824-multiple-acir-calls Jun 21, 2024
37 checks passed
@anaPerezGhiglia anaPerezGhiglia deleted the spinoff/4824-multiple-acir-calls branch June 21, 2024 20:58
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.

2 participants