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/migration_notes.md
+8
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,14 @@ Aztec is in full-speed development. Literally every version breaks compatibility
8
8
9
9
## TBD
10
10
11
+
### [Aztec.js] Removed `L2Block.fromFields`
12
+
`L2Block.fromFields` was a syntactic sugar which is causing [issues](https://github.com/AztecProtocol/aztec-packages/issues/8340) so we've removed it.
13
+
14
+
```diff
15
+
-const l2Block = L2Block.fromFields({ header, archive, body });
16
+
+const l2Block = new L2Block(archive, header, body);
0 commit comments