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
1. Removed redundant LeafData struct and used the one from protocol
circuits. I had to move the type to protocol-circuit/rollup-lib to
protocol-circuit/types to have it exposed.
2. FixesAztecProtocol#3444
3. Unified the naming in NullifierLeafPreimage in TS and Noir.
// Noir version of LeafData interface from indexed merkle tree.
12
-
// TODO(#3470) replace with /mnt/user-data/jan/aztec-packages/yarn-project/noir-protocol-circuits/src/crates/rollup-lib/src/abis/nullifier_leaf_preimage.nr
13
-
structLeafData {
14
-
value: Field,
15
-
next_index: Field,
16
-
next_value: Field,
17
-
}
18
-
19
-
implLeafData {
20
-
fnserialize(self) -> [Field; LEAF_DATA_LENGTH] {
21
-
[self.value, self.next_index, self.next_value]
22
-
}
23
-
24
-
fnhash(self) ->Field {
25
-
// Performs the same hashing as StandardIndexedTree::encodeLeaf(...)
0 commit comments