From d7fe9dab75cef8a22660dc8690eb33236f8b2cdd Mon Sep 17 00:00:00 2001 From: benesjan Date: Mon, 18 Mar 2024 10:09:06 +0000 Subject: [PATCH] feat: returning non-nullified messages only --- .../crates/rollup-lib/src/root/root_rollup_inputs.nr | 2 +- yarn-project/aztec-node/src/aztec-node/server.ts | 2 +- yarn-project/circuit-types/src/interfaces/aztec-node.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/root/root_rollup_inputs.nr b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/root/root_rollup_inputs.nr index 17a655ed2821..05bf6833fb5f 100644 --- a/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/root/root_rollup_inputs.nr +++ b/noir-projects/noir-protocol-circuits/crates/rollup-lib/src/root/root_rollup_inputs.nr @@ -44,7 +44,7 @@ impl RootRollupInputs { components::assert_equal_constants(left, right); components::assert_prev_rollups_follow_on_from_each_other(left, right); - // Insert subtree into the l1 to l2 data tree + // Insert subtree into the l1 to l2 message tree let empty_l1_to_l2_subtree_root = calculate_empty_tree_root(L1_TO_L2_MSG_SUBTREE_HEIGHT); let new_l1_to_l2_message_tree_snapshot = append_only_tree::insert_subtree_to_snapshot_tree( self.start_l1_to_l2_message_tree_snapshot, diff --git a/yarn-project/aztec-node/src/aztec-node/server.ts b/yarn-project/aztec-node/src/aztec-node/server.ts index e2a666d6f54d..6e84de6c27d4 100644 --- a/yarn-project/aztec-node/src/aztec-node/server.ts +++ b/yarn-project/aztec-node/src/aztec-node/server.ts @@ -364,7 +364,7 @@ export class AztecNodeService implements AztecNode { } /** - * Returns the index and a sibling path for a leaf in the committed l1 to l2 data tree. + * Returns the index and a sibling path for a leaf in the committed l1 to l2 message tree. * @param blockNumber - The block number at which to get the data. * @param l1ToL2Message - The l1ToL2Message to get the index / sibling path for. * @returns A tuple of the index and the sibling path of the L1ToL2Message (undefined if not found). diff --git a/yarn-project/circuit-types/src/interfaces/aztec-node.ts b/yarn-project/circuit-types/src/interfaces/aztec-node.ts index 619208b8400f..8c0de615326e 100644 --- a/yarn-project/circuit-types/src/interfaces/aztec-node.ts +++ b/yarn-project/circuit-types/src/interfaces/aztec-node.ts @@ -59,7 +59,7 @@ export interface AztecNode { ): Promise>; /** - * Returns the index and a sibling path for a leaf in the committed l1 to l2 data tree. + * Returns the index and a sibling path for a leaf in the committed l1 to l2 message tree. * @param blockNumber - The block number at which to get the data. * @param l1ToL2Message - The l1ToL2Message to get the index / sibling path for. * @returns A tuple of the index and the sibling path of the message (undefined if not found).