Skip to content

Commit 0994846

Browse files
committed
fixes after rebase
1 parent c00e40e commit 0994846

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

yarn-project/stdlib/src/interfaces/archiver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ export const ArchiverApiSchema: ApiSchemaFor<ArchiverApi> = {
115115
getL2Tips: z.function().args().returns(L2TipsSchema),
116116
getPrivateLogsByTags: z
117117
.function()
118-
.args(z.array(SiloedTag.schema), optional(schemas.Integer))
118+
.args(z.array(SiloedTag.schema))
119119
.returns(z.array(z.array(TxScopedL2Log.schema))),
120120
getPublicLogsByTagsFromContract: z
121121
.function()
122-
.args(schemas.AztecAddress, z.array(Tag.schema), optional(schemas.Integer))
122+
.args(schemas.AztecAddress, z.array(Tag.schema))
123123
.returns(z.array(z.array(TxScopedL2Log.schema))),
124124
getPublicLogs: z.function().args(LogFilterSchema).returns(GetPublicLogsResponseSchema),
125125
getContractClassLogs: z.function().args(LogFilterSchema).returns(GetContractClassLogsResponseSchema),

yarn-project/stdlib/src/interfaces/aztec-node.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,7 @@ export const AztecNodeApiSchema: ApiSchemaFor<AztecNode> = {
609609

610610
getPublicLogsByTagsFromContract: z
611611
.function()
612-
.args(
613-
schemas.AztecAddress,
614-
z.array(Tag.schema).max(MAX_RPC_LEN),
615-
optional(z.number().gte(1).lte(MAX_LOGS_PER_TAG).default(MAX_LOGS_PER_TAG)),
616-
)
612+
.args(schemas.AztecAddress, z.array(Tag.schema).max(MAX_RPC_LEN))
617613
.returns(z.array(z.array(TxScopedL2Log.schema))),
618614

619615
sendTx: z.function().args(Tx.schema).returns(z.void()),

0 commit comments

Comments
 (0)