fix(bot): use NO_FROM instead of AztecAddress.ZERO in deploy simulate#21402
Merged
Maddiaa0 merged 1 commit intomerge-train/fairiesfrom Mar 19, 2026
Merged
Conversation
4c1a54b to
e3e22ab
Compare
… call The no_from PR (#21716) changed how AztecAddress.ZERO is handled in the embedded wallet simulate path. The simulate call in setupAccountWithPrivateKey was using AztecAddress.ZERO as the from address, which now causes the wallet to attempt looking up account data for the zero address (which doesn't exist). Changed to use NO_FROM which is the correct API for opting out of account contract mediation during simulation.
e3e22ab to
ba664f1
Compare
Maddiaa0
approved these changes
Mar 19, 2026
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.
Summary
The
feat!: no_fromPR (#21716) changed howAztecAddress.ZEROis handled in the embedded wallet's simulate path.BotFactory.setupAccountWithPrivateKeywas passingAztecAddress.ZEROas thefromaddress in thesimulatecall, which now causes the wallet to attempt looking up account data for the zero address — resulting in"Account 0x000...000 does not exist on this wallet".Fixed by using
NO_FROM(already imported and used in the adjacentsendcall) which is the correct API for opting out of account contract mediation during simulation.Failing tests fixed
e2e_bot › bridge resume › reuses prior bridge claimse2e_bot › bridge resume › does not reuse prior bridge claims if recipient address changese2e_bot › setup via bridging funds cross-chain › creates bot after inbox driftTest plan
ClaudeBox log: https://claudebox.work/s/11a8e25f0aefa248?run=1