From 35239f84017c9e7a9d4eb408e00e810d5828cc2b Mon Sep 17 00:00:00 2001 From: AztecBot Date: Wed, 11 Mar 2026 16:11:44 +0000 Subject: [PATCH 1/2] fix(e2e): use L2 priority fee in deploy_method same-block test The test used GasFees(1n, 0n) to give the deploy tx higher priority, but DA gas fees are zero in the test environment. Since priority fees are now capped by maxFeesPerGas (PR #21279), min(0, 1) = 0, making both txs have equal priority and the deploy tx no longer guaranteed to be ordered first. Switch to GasFees(0n, 1n) so the L2 priority fee is effective (L2 gas fees are non-zero). --- .../end-to-end/src/e2e_deploy_contract/deploy_method.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yarn-project/end-to-end/src/e2e_deploy_contract/deploy_method.test.ts b/yarn-project/end-to-end/src/e2e_deploy_contract/deploy_method.test.ts index ed7cfba703fb..3c9b86bc1f6e 100644 --- a/yarn-project/end-to-end/src/e2e_deploy_contract/deploy_method.test.ts +++ b/yarn-project/end-to-end/src/e2e_deploy_contract/deploy_method.test.ts @@ -157,7 +157,9 @@ describe('e2e_deploy_contract deploy method', () => { // First send the deploy transaction // Pay priority fee to ensure the deployment transaction gets processed first. - const maxPriorityFeesPerGas = new GasFees(1n, 0n); + // Use L2 gas priority (not DA) because DA gas fees can be zero, and priority fees + // are capped by maxFeesPerGas, so a DA priority of 1 gets capped to min(0, 1) = 0. + const maxPriorityFeesPerGas = new GasFees(0n, 1n); const deployTxPromise = deployTx.send({ from: defaultAccountAddress, fee: { gasSettings: { maxPriorityFeesPerGas } }, From 19bbbc430562d22d51c5e4d1803bcf3f5d9029ad Mon Sep 17 00:00:00 2001 From: AztecBot Date: Wed, 11 Mar 2026 16:12:15 +0000 Subject: [PATCH 2/2] fix(e2e): use L2 priority fee in deploy_method same-block test --- yarn-project/yarn.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/yarn-project/yarn.lock b/yarn-project/yarn.lock index a65c4d938b33..e424235adc3d 100644 --- a/yarn-project/yarn.lock +++ b/yarn-project/yarn.lock @@ -1902,6 +1902,7 @@ __metadata: "@aztec/foundation": "workspace:^" "@aztec/kv-store": "workspace:^" "@aztec/l1-artifacts": "workspace:^" + "@aztec/native": "workspace:^" "@aztec/node-keystore": "workspace:^" "@aztec/node-lib": "workspace:^" "@aztec/noir-protocol-circuits-types": "workspace:^"