Skip to content

Commit

Permalink
feat: returning non-nullified messages only
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Mar 18, 2024
1 parent fee8bd3 commit 9dc3042
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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.
* @throws If the message is 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 @@ -61,7 +61,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.
* @throws If the message is not found.
Expand Down

0 comments on commit 9dc3042

Please sign in to comment.