Skip to content

Signal execution for sync block#7666

Merged
sstanculeanu merged 7 commits into
feat/supernova-async-execfrom
signal-execution-for-syncBlock
Feb 5, 2026
Merged

Signal execution for sync block#7666
sstanculeanu merged 7 commits into
feat/supernova-async-execfrom
signal-execution-for-syncBlock

Conversation

@raduchis

@raduchis raduchis commented Feb 4, 2026

Copy link
Copy Markdown
Contributor

Reasoning behind the pull request

  • meta synchronizing processed only 2-3 blocks per second because of the 400ms timeout on the sync

Proposed changes

  • add a channel to signal when the processing finished a new header

Testing procedure

  • run an internal testnet and remove dbs / stop and restart observers and validators and the synchronization shoudl catch up faster than 2-3 blocks per second

Pre-requisites

Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:

  • was the PR targeted to the correct branch?
  • if this is a larger feature that probably needs more than one PR, is there a feat branch created?
  • if this is a feat branch merging, do all satellite projects have a proper tag inside go.mod?

@raduchis raduchis marked this pull request as ready for review February 4, 2026 12:38
sstanculeanu
sstanculeanu previously approved these changes Feb 4, 2026
Comment thread process/sync/baseSync.go Outdated
}

// GetSignalProcessCompletionChan returns the channel used to signal the sync loop after execution completes
func (boot *baseBootstrap) GetSignalProcessCompletionChan() chan uint64 {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this does not seem to be used, the chan is set here from execution manager, no need to export it from here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, removed - it was only used in a test

danidrasovean
danidrasovean previously approved these changes Feb 4, 2026
@sstanculeanu sstanculeanu merged commit 6829f70 into feat/supernova-async-exec Feb 5, 2026
8 of 9 checks passed
@sstanculeanu sstanculeanu deleted the signal-execution-for-syncBlock branch February 5, 2026 10:55
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.

5 participants