fix: displaying debug logs from public function simulations#20551
Merged
benesjan merged 3 commits intomerge-train/fairiesfrom Feb 18, 2026
Merged
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
479aaac to
1c974f5
Compare
fcarreiro
reviewed
Feb 17, 2026
yarn-project/simulator/src/public/public_processor/public_processor.ts
Outdated
Show resolved
Hide resolved
1c974f5 to
090fc24
Compare
fcarreiro
approved these changes
Feb 18, 2026
Contributor
fcarreiro
left a comment
There was a problem hiding this comment.
LGTM for AVM (well, for public_processor.ts ;))
github-merge-queue bot
pushed a commit
that referenced
this pull request
Feb 19, 2026
BEGIN_COMMIT_OVERRIDE refactor: authwit not consumable when reject all is set (#20533) fix: displaying debug logs from public function simulations (#20551) fix: allow compiling mixed (contract + noir script) aztec project (#20428) refactor: split ContractSelf into context-specific structs (#20624) feat: add optional additional scopes to wallet transaction API (#20487) feat(aztec.js): add additionalScopes to ContractFunctionPattern in capabilities (#20660) END_COMMIT_OVERRIDE
Collaborator
|
❌ Failed to cherry-pick to |
benesjan
added a commit
that referenced
this pull request
Feb 26, 2026
benesjan
added a commit
that referenced
this pull request
Feb 26, 2026
benesjan
added a commit
that referenced
this pull request
Feb 26, 2026
BEGIN_COMMIT_OVERRIDE fix!: Bump l2 gas per note hash (#20862) fix: allow compiling mixed (contract + noir script) aztec project (#20428) feat: add `aztec profile` command with gate count profiling (#20695) chore: backporting "displaying debug logs from public function simulations (#20551)" (#20882) refactor: split ContractSelf into context-specific structs (#20624) fix(txe): committing after txs (#20714) feat: printing out public contract function debug logs in a tx (#20749) refactor: bundling app into type with directional app tagging secret (#20796) refactor: cleaning up construction of SiloedTag (#20797) docs: document RevertCodeEnum phases and add 120-char line width rule (#20751) fix: track last seen nonce in case of stale fallback L1 RPC node (#20855) feat: add aztec profile flamegraph command (#20741) END_COMMIT_OVERRIDE --------- Co-authored-by: sirasistant <sirasistant@users.noreply.github.com> Co-authored-by: sirasistant <sirasistant@gmail.com> Co-authored-by: nchamo <nchamo@users.noreply.github.com> Co-authored-by: benesjan <benesjan@users.noreply.github.com> Co-authored-by: Jan Beneš <janbenes1234@gmail.com> Co-authored-by: spypsy <spypsy@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

We have not displayed debug logs emitted in public functions. In this PR I achieve this by:
PublicSimulationOutput,Since now these logs are printed out from 3 places (UtilityExecutionOracle, pxe.ts and wallet) I moved the print utils to
pxe/src/contract_logging.ts.This is what the output looks like:

Followup work
There are 2 more tasks to do related to contract logging:
aztec testsuch that devs see their contract logs correctly displayed by default (PR here),