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

CCIP-1230 Exposing entire LogPollerBlock from LatestBlock in LogPoller #11105

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

mateusz-sekara
Copy link
Collaborator

@mateusz-sekara mateusz-sekara commented Oct 27, 2023

WIth support for finality introduced here #10762, we can expose finalized block from the LogPoller's API as well.

Reusing an existing function seems reasonable because:

  • we don't introduce more functions to the interface, which already has plenty of them
  • it's compliant with existing GetBlocksRange which returns entire block LogPollerBlock instead of their numbers
  • LogPoller's client can fetch both latestBlock and latestFinalizedBlock within a single DB call

@github-actions
Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

@github-actions
Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

@mateusz-sekara mateusz-sekara changed the title Exposing entire LogPollerBlock from LatestBlock in LogPoller CCIP-1230 Exposing entire LogPollerBlock from LatestBlock in LogPoller Oct 27, 2023
@mateusz-sekara mateusz-sekara force-pushed the lp/latest-block-fetch branch 5 times, most recently from 294b057 to 18f971f Compare October 27, 2023 16:02
@cl-sonarqube-production
Copy link

Copy link
Contributor

@reductionista reductionista left a comment

Choose a reason for hiding this comment

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

LGTM!

@mateusz-sekara mateusz-sekara added this pull request to the merge queue Oct 31, 2023
Merged via the queue into develop with commit 2534e1a Oct 31, 2023
84 checks passed
@mateusz-sekara mateusz-sekara deleted the lp/latest-block-fetch branch October 31, 2023 09:55
bolekk pushed a commit that referenced this pull request Nov 6, 2023
#11105)

* Exposing entire LogPollerBlock from LatestBlock function in the LogPoller's interface

* Exposing entire LogPollerBlock from LatestBlock function in the LogPoller's interface
asoliman92 pushed a commit that referenced this pull request Jul 31, 2024
#11105)

* Exposing entire LogPollerBlock from LatestBlock function in the LogPoller's interface

* Exposing entire LogPollerBlock from LatestBlock function in the LogPoller's interface
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