Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/aztec-node/src/aztec-node/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/circuit-types/src/interfaces/aztec-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface AztecNode {
): Promise<SiblingPath<typeof NOTE_HASH_TREE_HEIGHT>>;

/**
* 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).
Expand Down