fix(pxe): repoint broken debugging docs link in PXE error messages#24145
Merged
vezenovm merged 3 commits intoJun 17, 2026
Conversation
nchamo
reviewed
Jun 17, 2026
| throw new Error( | ||
| `No public key registered for address ${account}. | ||
| Register it by calling pxe.addAccount(...).\nSee docs for context: https://docs.aztec.network/developers/resources/debugging/aztecnr-errors#simulation-error-no-public-key-registered-for-address-0x0-register-it-by-calling-pxeregisterrecipient-or-pxeregisteraccount`, | ||
| Register it by calling wallet.registerSender(...).\nSee docs for context: https://docs.aztec.network/developers/docs/aztec-nr/debugging#contract-errors`, |
Contributor
There was a problem hiding this comment.
Thanks for fixing this, but could we use links like https://docs.aztec.network/errors/6? See netlify.toml
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.
Two PXE error messages linked to a docs page that no longer exists (
developers/resources/debugging/aztecnr-errors), and suggested methods that aren't public API.utility_execution_oracle.ts("No public key registered for address")contract_store.ts("Unknown contract")Both now point at the live page
https://docs.aztec.network/developers/docs/aztec-nr/debugging#contract-errorsand recommend the real methods (wallet.registerSender(...)/wallet.registerContract(...)) instead of the nonexistentpxe.addAccount(...)/server.addContracts(...).Discovered in http://ci.aztec-labs.com/7f36172a9dadb066