@aztec/entrypoints 3.0.0-nightly.20250910 → 3.0.0-nightly.20250912

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.
@@ -27,7 +27,7 @@ import { EncodedCallsForEntrypoint, computeCombinedPayloadHash } from './encodin
27
27
  // Get the execution payload for the fee, it includes the calls and potentially authWitnesses
28
28
  const { calls: feeCalls, authWitnesses: feeAuthwitnesses } = await fee.paymentMethod.getExecutionPayload(fee.gasSettings);
29
29
  // Encode the calls for the fee
30
- const feePayer = await fee.paymentMethod.getFeePayer(fee.gasSettings);
30
+ const feePayer = await fee.paymentMethod.getFeePayer();
31
31
  const isFeePayer = feePayer.equals(this.address);
32
32
  const feeEncodedCalls = await EncodedCallsForEntrypoint.fromFeeCalls(feeCalls, isFeePayer);
33
33
  // Obtain the entrypoint hashed args, built from the app and fee encoded calls
@@ -56,9 +56,8 @@ export interface FeePaymentMethod {
56
56
  getExecutionPayload(gasSettings: GasSettings): Promise<ExecutionPayload>;
57
57
  /**
58
58
  * The expected fee payer for this tx.
59
- * @param gasSettings - The gas limits and max fees.
60
59
  */
61
- getFeePayer(gasSettings: GasSettings): Promise<AztecAddress>;
60
+ getFeePayer(): Promise<AztecAddress>;
62
61
  }
63
62
  /**
64
63
  * Fee payment options for a transaction.
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MA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,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACzE;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,oCAAoC;IACpC,aAAa,EAAE,gBAAgB,CAAC;IAChC,uBAAuB;IACvB,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAGF,oCAAoC;AACpC,MAAM,MAAM,cAAc,GAAG;IAC3B,oCAAoC;IACpC,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC,uBAAuB;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC;IAC7C,mEAAmE;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4GAA4G;IAC5G,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qHAAqH;IACrH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aztec/entrypoints",
3
3
  "homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/yarn-project/entrypoints",
4
4
  "description": "Implementation of sample contract entrypoints for the Aztec Network",
5
- "version": "3.0.0-nightly.20250910",
5
+ "version": "3.0.0-nightly.20250912",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  "./account": "./dest/account_entrypoint.js",
@@ -67,10 +67,10 @@
67
67
  ]
68
68
  },
69
69
  "dependencies": {
70
- "@aztec/constants": "3.0.0-nightly.20250910",
71
- "@aztec/foundation": "3.0.0-nightly.20250910",
72
- "@aztec/protocol-contracts": "3.0.0-nightly.20250910",
73
- "@aztec/stdlib": "3.0.0-nightly.20250910",
70
+ "@aztec/constants": "3.0.0-nightly.20250912",
71
+ "@aztec/foundation": "3.0.0-nightly.20250912",
72
+ "@aztec/protocol-contracts": "3.0.0-nightly.20250912",
73
+ "@aztec/stdlib": "3.0.0-nightly.20250912",
74
74
  "tslib": "^2.4.0"
75
75
  },
76
76
  "devDependencies": {
@@ -36,7 +36,7 @@ export class DefaultAccountEntrypoint implements EntrypointInterface {
36
36
  fee.gasSettings,
37
37
  );
38
38
  // Encode the calls for the fee
39
- const feePayer = await fee.paymentMethod.getFeePayer(fee.gasSettings);
39
+ const feePayer = await fee.paymentMethod.getFeePayer();
40
40
  const isFeePayer = feePayer.equals(this.address);
41
41
  const feeEncodedCalls = await EncodedCallsForEntrypoint.fromFeeCalls(feeCalls, isFeePayer);
42
42
 
package/src/interfaces.ts CHANGED
@@ -65,9 +65,8 @@ export interface FeePaymentMethod {
65
65
  getExecutionPayload(gasSettings: GasSettings): Promise<ExecutionPayload>;
66
66
  /**
67
67
  * The expected fee payer for this tx.
68
- * @param gasSettings - The gas limits and max fees.
69
68
  */
70
- getFeePayer(gasSettings: GasSettings): Promise<AztecAddress>;
69
+ getFeePayer(): Promise<AztecAddress>;
71
70
  }
72
71
 
73
72
  /**