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
+10
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,16 @@ Aztec is in full-speed development. Literally every version breaks compatibility
8
8
9
9
## TBD
10
10
11
+
### [aztec-nr]`TestEnvironment::block_number()` removed and refactored
12
+
13
+
The `block_number` function from `TestEnvironment` is now two functions, the first being `pending_block_number`, and the second being `committed_block_number`. `pending_block_number` now returns what previously `block_number` did. In other words, it returns the block number of the block we are currently building. `committed_block_number` returns the block number of the last committed block, i.e. the block number that gets used to execute the private part of transactions when your PXE is successfully synced to the tip of the chain.
The `compute_nullifier_without_context` function from `NoteHash` (ex `NoteInterface`) is now called `compute_nullifier_unconstrained`, and instead of taking storage slot, contract address and nonce it takes a note hash for nullification (same as `compute_note_hash`). This makes writing this
0 commit comments