Skip to content

refactor!: helpers for AztecNode::getLogsByTags and related oracle change#14459

Merged
benesjan merged 14 commits intonextfrom
05-22-refactor_separating_getlogsbytags_to_public_and_private_versions
May 28, 2025
Merged

refactor!: helpers for AztecNode::getLogsByTags and related oracle change#14459
benesjan merged 14 commits intonextfrom
05-22-refactor_separating_getlogsbytags_to_public_and_private_versions

Conversation

@benesjan
Copy link
Copy Markdown
Contributor

@benesjan benesjan commented May 22, 2025

Fixes #11639

Nowhere in our codebase we wanted to receive both public and private logs and for this reason I separated the 2 APIs. This was especially problematic in Noir (getLogByTag function) as public and private logs have different lengths.

For the public logs we also wanted filtering by contract address so I modified the API to do that.

Copy link
Copy Markdown
Contributor Author

benesjan commented May 22, 2025

@benesjan benesjan changed the title refactor: separating getLogsByTags to public and private versions refactor: separating getLogsByTags to public and private versions May 22, 2025
@benesjan benesjan marked this pull request as ready for review May 22, 2025 09:53
@benesjan benesjan changed the title refactor: separating getLogsByTags to public and private versions refactor: separating AztecNode::getLogsByTags to public and private versions May 22, 2025
@benesjan benesjan requested a review from nventuro May 22, 2025 10:22
@benesjan benesjan changed the base branch from master to next May 22, 2025 13:12
@benesjan benesjan requested review from nventuro and removed request for nventuro May 23, 2025 09:55
@benesjan benesjan force-pushed the 05-22-refactor_separating_getlogsbytags_to_public_and_private_versions branch from 1faf365 to 2d318b3 Compare May 23, 2025 14:49
@benesjan benesjan requested a review from nventuro May 23, 2025 15:01
@benesjan benesjan changed the title refactor: separating AztecNode::getLogsByTags to public and private versions refactor!: separating AztecNode::getLogsByTags to public and private versions May 23, 2025
@benesjan benesjan changed the title refactor!: separating AztecNode::getLogsByTags to public and private versions refactor!: helpers for AztecNode::getLogsByTags and related oracle change May 23, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 26, 2025

Docs Preview

You can check your preview here.

@benesjan benesjan marked this pull request as draft May 27, 2025 13:26
@benesjan benesjan changed the base branch from next to graphite-base/14459 May 27, 2025 13:39
@benesjan benesjan force-pushed the graphite-base/14459 branch from 8481950 to aae5ab0 Compare May 27, 2025 13:39
@benesjan benesjan force-pushed the 05-22-refactor_separating_getlogsbytags_to_public_and_private_versions branch from aff6028 to 0e0996d Compare May 27, 2025 13:39
@benesjan benesjan changed the base branch from graphite-base/14459 to master May 27, 2025 13:39
@benesjan benesjan marked this pull request as ready for review May 27, 2025 13:39
@benesjan benesjan enabled auto-merge May 27, 2025 13:39
@benesjan benesjan added this pull request to the merge queue May 27, 2025
@benesjan benesjan removed this pull request from the merge queue due to a manual request May 27, 2025
@benesjan benesjan force-pushed the 05-22-refactor_separating_getlogsbytags_to_public_and_private_versions branch from 0e0996d to d729134 Compare May 27, 2025 14:30
@benesjan benesjan changed the base branch from master to next May 27, 2025 14:35
@benesjan benesjan changed the base branch from next to master May 27, 2025 14:35
@benesjan benesjan changed the base branch from master to graphite-base/14459 May 27, 2025 14:37
@benesjan benesjan force-pushed the 05-22-refactor_separating_getlogsbytags_to_public_and_private_versions branch from d729134 to 7ab9935 Compare May 27, 2025 14:37
@benesjan benesjan force-pushed the graphite-base/14459 branch from 3ca26cd to 3a84f53 Compare May 27, 2025 14:37
@benesjan benesjan changed the base branch from graphite-base/14459 to next May 27, 2025 14:37
@benesjan benesjan enabled auto-merge May 27, 2025 14:47
@benesjan benesjan added this pull request to the merge queue May 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 27, 2025
@benesjan benesjan added this pull request to the merge queue May 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 27, 2025
@benesjan benesjan added this pull request to the merge queue May 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 27, 2025
@benesjan benesjan added this pull request to the merge queue May 27, 2025
github-merge-queue bot pushed a commit that referenced this pull request May 27, 2025
…change (#14459)

Fixes #11639

Nowhere in our codebase we wanted to receive both public and private
logs and for this reason I separated the 2 APIs. This was especially
problematic in Noir (getLogByTag function) as public and private logs
have different lengths.

For the public logs we also wanted filtering by contract address so I
modified the API to do that.

---------

Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 27, 2025
@benesjan benesjan added this pull request to the merge queue May 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 27, 2025
@benesjan benesjan added this pull request to the merge queue May 28, 2025
Merged via the queue into next with commit a79f5a6 May 28, 2025
5 of 6 checks passed
@benesjan benesjan deleted the 05-22-refactor_separating_getlogsbytags_to_public_and_private_versions branch May 28, 2025 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider distinguishing private and public logs

2 participants