From 93ac68517fc2e21efa976d1e38ba9e9c0170293a Mon Sep 17 00:00:00 2001 From: benesjan Date: Mon, 18 Mar 2024 11:25:29 +0000 Subject: [PATCH] comment fixes --- yarn-project/circuit-types/src/messaging/inbox_leaf.ts | 2 +- yarn-project/circuit-types/src/messaging/l1_actor.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn-project/circuit-types/src/messaging/inbox_leaf.ts b/yarn-project/circuit-types/src/messaging/inbox_leaf.ts index cad0db349d2..eff95b07d0a 100644 --- a/yarn-project/circuit-types/src/messaging/inbox_leaf.ts +++ b/yarn-project/circuit-types/src/messaging/inbox_leaf.ts @@ -8,7 +8,7 @@ export class InboxLeaf { public readonly blockNumber: bigint, /** Index of the leaf in L2 block message subtree. */ public readonly index: bigint, - /** Leaf of the subtree. */ + /** Leaf in the subtree. */ public readonly leaf: Fr, ) {} diff --git a/yarn-project/circuit-types/src/messaging/l1_actor.ts b/yarn-project/circuit-types/src/messaging/l1_actor.ts index e30e001cbf3..12b149ea79f 100644 --- a/yarn-project/circuit-types/src/messaging/l1_actor.ts +++ b/yarn-project/circuit-types/src/messaging/l1_actor.ts @@ -4,7 +4,7 @@ import { Fr } from '@aztec/foundation/fields'; import { BufferReader, serializeToBuffer } from '@aztec/foundation/serialize'; /** - * The sender of an L1 to L2 message. + * The sender of an L1 to L2 message or recipient of an L2 to L1 message. */ export class L1Actor { constructor( @@ -13,7 +13,7 @@ export class L1Actor { */ public readonly sender: EthAddress, /** - * The chain id on which the message was sent. + * The chain id on which the message was sent (L1 -> L2) or on which the message will be received (L2 -> L1). */ public readonly chainId: number, ) {}