Skip to content

Check archive block height before sending subscribers notification#403

Merged
jenikd merged 8 commits intomainfrom
jenikd/fixBlockNotification
Apr 10, 2025
Merged

Check archive block height before sending subscribers notification#403
jenikd merged 8 commits intomainfrom
jenikd/fixBlockNotification

Conversation

@jenikd
Copy link
Collaborator

@jenikd jenikd commented Apr 1, 2025

This PR solves issue, when there is a asynchronous write to the archive state database. This approach was added not to block block processing with write to archive as this is expensive operation.
In some cases update was done only to live database and RPC subscribers were notified about new block, but it was not yet written to archive.

@jenikd jenikd requested a review from HerbertJordan as a code owner April 1, 2025 16:14
@jenikd jenikd requested a review from thaarok April 8, 2025 07:22
Copy link
Collaborator Author

@jenikd jenikd left a comment

Choose a reason for hiding this comment

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

Thanks for feedback

@jenikd jenikd merged commit 612b081 into main Apr 10, 2025
2 checks passed
@jenikd jenikd deleted the jenikd/fixBlockNotification branch April 10, 2025 12:48
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