Skip to content

Conversation

@haardikk21
Copy link
Contributor

@haardikk21 haardikk21 commented Nov 7, 2025

Attempts to improve the performance of processing flashblocks when flashblocks are coming in faster than canonical blocks. Forces a reset of the CacheDB periodically when pending max depth > 3. This helps keep things more stable and avoids cases where processing flashblocks takes more time than it takes for a new flashblock to come in, which ends up causing a pending head stall as latest starts outpacing pending.

Also improves sender recovery and receipt generation by caching those as much as possible

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Nov 7, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@haardikk21 haardikk21 marked this pull request as ready for review November 12, 2025 14:20
@haardikk21 haardikk21 changed the title feat: limit max depth of pending state feat: perf improvements for build_pending_state Nov 12, 2025
danyalprout
danyalprout previously approved these changes Nov 14, 2025
@cb-heimdall cb-heimdall dismissed danyalprout’s stale review November 14, 2025 14:43

Approved review 3465230484 from danyalprout is now dismissed due to new commit. Re-request for approval.

@haardikk21 haardikk21 merged commit 0d0ecd3 into main Nov 14, 2025
9 checks passed
@haardikk21 haardikk21 deleted the memory-buildup branch November 14, 2025 15:31
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.

4 participants