Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: duplicate operatorAddresses, operatorPubkeys caused by inclusive FilterQuery #221

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

taco-paco
Copy link
Contributor

@taco-paco taco-paco commented Apr 29, 2024

Fixes # .

What Changed?

Since FilterQuery is inclusive (as discussed here) to toBlock there were duplicates in every iteration, for example: [0,10000], [10000, 20000]
Would get block 10000 twice.

Reviewer Checklist

  • Code is well-documented
  • Code adheres to Go naming conventions
  • [] Code deprecates any old functionality before removing it

Copy link
Collaborator

@samlaf samlaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for this. Just one small fix and then we can merge.

chainio/clients/avsregistry/reader.go Outdated Show resolved Hide resolved
@samlaf
Copy link
Collaborator

samlaf commented Apr 30, 2024

ty sir

@samlaf samlaf merged commit feeb72b into Layr-Labs:master Apr 30, 2024
2 of 3 checks passed
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.

2 participants