From bee9887885f37beedb03345f4a4bb3f76644cb0d Mon Sep 17 00:00:00 2001 From: AztecBot Date: Mon, 2 Mar 2026 10:45:18 +0000 Subject: [PATCH] fix: set wallet minFeePadding in BotFactory constructor --- yarn-project/bot/src/factory.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yarn-project/bot/src/factory.ts b/yarn-project/bot/src/factory.ts index 31b05f540b8e..970dd845ec69 100644 --- a/yarn-project/bot/src/factory.ts +++ b/yarn-project/bot/src/factory.ts @@ -49,7 +49,11 @@ export class BotFactory { private readonly store: BotStore, private readonly aztecNode: AztecNode, private readonly aztecNodeAdmin?: AztecNodeAdmin, - ) {} + ) { + // Set fee padding on the wallet so that all transactions during setup + // (token deploy, minting, etc.) use the configured padding, not the default. + this.wallet.setMinFeePadding(config.minFeePadding); + } /** * Initializes a new bot by setting up the sender account, registering the recipient,