You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs-developers/docs/resources/migration_notes.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,31 @@ Aztec is in full-speed development. Literally every version breaks compatibility
9
9
10
10
## TBD
11
11
12
+
### [L1 Contracts] Fee asset pricing direction inverted
13
+
14
+
The fee model now uses `ethPerFeeAsset` instead of the previous `feeAssetPerEth`. This change inverts how the exchange rate is represented: values now express how much ETH one fee asset (AZTEC) is worth, with 1e12 precision.
-`RollupConfigInput` now requires `initialEthPerFeeAsset` parameter at deployment
20
+
- Default value: `1e7` (0.00001 ETH per AZTEC)
21
+
- Valid range: `100` (1e-10 ETH/AZTEC) to `1e11` (0.1 ETH/AZTEC)
22
+
23
+
**New environment variable for node operators:**
24
+
25
+
-`AZTEC_INITIAL_ETH_PER_FEE_ASSET` - Sets the initial ETH per fee asset price with 1e12 precision
26
+
27
+
### [L1 Contracts] Fee asset price modifier now in basis points
28
+
29
+
The `OracleInput.feeAssetPriceModifier` field now expects values in basis points (BPS) instead of the previous representation. The modifier is applied as a percentage change to the ETH/AZTEC price each checkpoint.
30
+
31
+
**Key changes:**
32
+
33
+
- Valid range: `-100` to `+100` BPS (±1% max change per checkpoint)
34
+
- A value of `+100` increases the price by 1%, `-100` decreases by 1%
35
+
- Validated by `MAX_FEE_ASSET_PRICE_MODIFIER_BPS = 100`
36
+
12
37
### [Aztec.js] Wallet batching now supports all methods
13
38
14
39
The `BatchedMethod` type is now a discriminated union that ensures type safety: the `args` must match the specific method `name`. This prevents runtime errors from mismatched arguments.
Copy file name to clipboardExpand all lines: docs/docs-network/operators/reference/changelog/v4.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,20 @@ The `getL2Tips()` RPC endpoint now returns a restructured response with addition
74
74
75
75
## New features
76
76
77
+
### Initial ETH per fee asset configuration
78
+
79
+
A new environment variable `AZTEC_INITIAL_ETH_PER_FEE_ASSET` has been added to configure the initial exchange rate between ETH and the fee asset (AZTEC) at contract deployment. This value uses 1e12 precision.
0 commit comments