Skip to content

Conversation

@linh-nguyenbao
Copy link
Collaborator

No description provided.

@hoangdohuy hoangdohuy changed the base branch from master to develop October 13, 2025 06:29

// Trigger cleanup after processing blocks - use the latest processed slot
latestProcessedSlot := processedBlocks[len(processedBlocks)-1].Slot
ln.cleanupBlockOrderingQueue(latestProcessedSlot)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure why we need this clean logic?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i removed this only clean every 1500 blocks

Copy link
Collaborator

@hoangdohuy hoangdohuy left a comment

Choose a reason for hiding this comment

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

Please review logic again! I not sure why you need this clean logic?

Copy link
Collaborator

@hoangdohuy hoangdohuy left a comment

Choose a reason for hiding this comment

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

Ideally we dont need handle this cleanup.
-> If we need to call cleanupBlockOrderingQueue maybe have something wrong with our logic so please add log warn when start and finish cleanupBlockOrderingQueue function.

@linh-nguyenbao linh-nguyenbao marked this pull request as draft October 14, 2025 02:03
@hoangdohuy hoangdohuy changed the title mmn cleanup block ordering (DRAFT) mmn cleanup block ordering Oct 14, 2025
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