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
Part of AztecProtocol#4199
Replaces the `compute_note_hash_for_read_or_nullify` with two functions:
- `compute_note_hash_for_insertion`
- `compute_note_hash_for_consumption`
The practical difference is small, but should make it a bit easier to follow the flow
Copy file name to clipboardExpand all lines: docs/docs/misc/migration_notes.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,15 @@ impl NoteInterface for CardNote {
29
29
self.owner.to_field(),
30
30
], 0)
31
31
}
32
-
``````
32
+
```
33
+
34
+
### Introduce `compute_note_hash_for_consumption` and `compute_note_hash_for_insertion`
35
+
36
+
Makes a split in logic for note hash computation for consumption and insertion. This is to avoid confusion between the two, and to make it clear that the note hash for consumption is different from the note hash for insertion (sometimes).
0 commit comments