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

feat(realyer): cache height for offset search #2325

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

sideninja
Copy link
Contributor

Cache the height found during attestation offset lookback search so it can be reused on the next offset search.

issue: #1860

@sideninja sideninja marked this pull request as ready for review October 29, 2024 22:04
lib/cchain/provider/abci.go Outdated Show resolved Hide resolved
lib/cchain/provider/abci.go Show resolved Hide resolved
lib/cchain/provider/abci.go Outdated Show resolved Hide resolved
lib/cchain/provider/abci.go Outdated Show resolved Hide resolved
lib/cchain/provider/abci.go Outdated Show resolved Hide resolved
lib/cchain/provider/abci.go Outdated Show resolved Hide resolved
lib/cchain/provider/abci.go Outdated Show resolved Hide resolved
lib/cchain/provider/provider.go Outdated Show resolved Hide resolved
lib/cchain/provider/provider.go Outdated Show resolved Hide resolved
lib/cchain/provider/provider_test.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@corverroos corverroos left a comment

Choose a reason for hiding this comment

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

Just blocking this until we have fully fixed and confirmed the dedup streams fix, then we can get this in afterwards

@sideninja sideninja requested a review from corverroos November 4, 2024 12:45
@sideninja sideninja requested a review from corverroos November 4, 2024 14:38
@sideninja sideninja force-pushed the gregor/cache-offset branch from 627f518 to 5a31104 Compare November 4, 2024 16:01
@sideninja sideninja force-pushed the gregor/cache-offset branch from 5a31104 to 19c6b34 Compare November 4, 2024 16:08
@sideninja sideninja merged commit c0f4c68 into main Nov 4, 2024
18 checks passed
@sideninja sideninja deleted the gregor/cache-offset branch November 4, 2024 16:14
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.

3 participants