diff --git a/yarn-project/acir-simulator/src/acvm/oracle/oracle.ts b/yarn-project/acir-simulator/src/acvm/oracle/oracle.ts index 14c2d9736a37..a03140c3b225 100644 --- a/yarn-project/acir-simulator/src/acvm/oracle/oracle.ts +++ b/yarn-project/acir-simulator/src/acvm/oracle/oracle.ts @@ -165,7 +165,7 @@ export class Oracle { const logPayload = Buffer.concat(message.map(charBuffer => convertACVMFieldToBuffer(charBuffer).subarray(-1))); const log = new UnencryptedL2Log( AztecAddress.fromString(contractAddress), - FunctionSelector.fromField(fromACVMField(eventSelector)), + FunctionSelector.fromField(fromACVMField(eventSelector)), // TODO https://github.com/AztecProtocol/aztec-packages/issues/2704 logPayload, ); diff --git a/yarn-project/types/src/logs/log_filter.ts b/yarn-project/types/src/logs/log_filter.ts index 11d6770660c2..aeb7407b1cec 100644 --- a/yarn-project/types/src/logs/log_filter.ts +++ b/yarn-project/types/src/logs/log_filter.ts @@ -17,6 +17,9 @@ export type LogFilter = { toBlock?: number; /** The contract address to filter logs by. */ contractAddress?: AztecAddress; - /** The event selector to filter logs by. */ + /** + * Selector of the event/log topic. + * TODO: https://github.com/AztecProtocol/aztec-packages/issues/2704 + */ selector?: FunctionSelector; }; diff --git a/yarn-project/types/src/logs/unencrypted_l2_log.ts b/yarn-project/types/src/logs/unencrypted_l2_log.ts index 3342046b4a8a..e4ad37347bfc 100644 --- a/yarn-project/types/src/logs/unencrypted_l2_log.ts +++ b/yarn-project/types/src/logs/unencrypted_l2_log.ts @@ -17,7 +17,10 @@ export class UnencryptedL2Log { * TODO: Optimize this once it makes sense. */ public readonly contractAddress: AztecAddress, - /** Selector of the event/log topic. */ + /** + * Selector of the event/log topic. + * TODO: https://github.com/AztecProtocol/aztec-packages/issues/2704 + */ public readonly selector: FunctionSelector, /** The data contents of the log. */ public readonly data: Buffer,