@aztec/wallet-sdk 5.2.0 → 5.3.0-nightly.20260819

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -203,13 +203,13 @@ import { buildMergedSimulationResult, extractOptimizablePublicStaticCalls, simul
203
203
  // (the node's per-tx admission limit), so the proposer does not skip the tx for over-declaring gas.
204
204
  let fullGasSettings;
205
205
  if (forEstimation) {
206
- // Estimation deliberately uses very high internal limits and skips tx validation, so we do not
207
- // validate against the network admission limit here.
206
+ // Estimation deliberately uses very high internal limits, which the node exempts from gas-limit
207
+ // admission during simulation, so we do not validate against the network admission limit here.
208
208
  fullGasSettings = GasSettings.forEstimation(gasSettingsOverrides);
209
209
  } else {
210
210
  const maxTxGasLimits = await this.getMaxTxGasLimits();
211
211
  // If the caller declared explicit gas limits, reject them up front when they exceed the network's
212
- // per-tx admission limit (mirroring the node's GasLimitsValidator). Otherwise fill in the limit.
212
+ // per-tx admission limit (mirroring the node's MaxGasLimitsValidator). Otherwise fill in the limit.
213
213
  if (gasSettingsOverrides.gasLimits) {
214
214
  assertGasLimitsWithinNetworkLimits(gasSettingsOverrides.gasLimits, maxTxGasLimits);
215
215
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aztec/wallet-sdk",
3
3
  "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/wallet-sdk",
4
- "version": "5.2.0",
4
+ "version": "5.3.0-nightly.20260819",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  "./base-wallet": "./dest/base-wallet/index.js",
@@ -75,15 +75,15 @@
75
75
  ]
76
76
  },
77
77
  "dependencies": {
78
- "@aztec/aztec.js": "5.2.0",
79
- "@aztec/constants": "5.2.0",
80
- "@aztec/entrypoints": "5.2.0",
81
- "@aztec/foundation": "5.2.0",
82
- "@aztec/pxe": "5.2.0",
83
- "@aztec/stdlib": "5.2.0"
78
+ "@aztec/aztec.js": "5.3.0-nightly.20260819",
79
+ "@aztec/constants": "5.3.0-nightly.20260819",
80
+ "@aztec/entrypoints": "5.3.0-nightly.20260819",
81
+ "@aztec/foundation": "5.3.0-nightly.20260819",
82
+ "@aztec/pxe": "5.3.0-nightly.20260819",
83
+ "@aztec/stdlib": "5.3.0-nightly.20260819"
84
84
  },
85
85
  "devDependencies": {
86
- "@aztec/noir-contracts.js": "5.2.0",
86
+ "@aztec/noir-contracts.js": "5.3.0-nightly.20260819",
87
87
  "@jest/globals": "^30.0.0",
88
88
  "@types/jest": "^30.0.0",
89
89
  "@types/node": "^22.15.17",
@@ -309,13 +309,13 @@ export abstract class BaseWallet implements Wallet {
309
309
  // (the node's per-tx admission limit), so the proposer does not skip the tx for over-declaring gas.
310
310
  let fullGasSettings;
311
311
  if (forEstimation) {
312
- // Estimation deliberately uses very high internal limits and skips tx validation, so we do not
313
- // validate against the network admission limit here.
312
+ // Estimation deliberately uses very high internal limits, which the node exempts from gas-limit
313
+ // admission during simulation, so we do not validate against the network admission limit here.
314
314
  fullGasSettings = GasSettings.forEstimation(gasSettingsOverrides);
315
315
  } else {
316
316
  const maxTxGasLimits = await this.getMaxTxGasLimits();
317
317
  // If the caller declared explicit gas limits, reject them up front when they exceed the network's
318
- // per-tx admission limit (mirroring the node's GasLimitsValidator). Otherwise fill in the limit.
318
+ // per-tx admission limit (mirroring the node's MaxGasLimitsValidator). Otherwise fill in the limit.
319
319
  if (gasSettingsOverrides.gasLimits) {
320
320
  assertGasLimitsWithinNetworkLimits(gasSettingsOverrides.gasLimits, maxTxGasLimits);
321
321
  }