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(taiko-client): only check and trigger P2P sync progress right after starting #18745

Merged
merged 5 commits into from
Jan 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: more logs
  • Loading branch information
davidtaikocha committed Jan 10, 2025
commit 249508661d3c96ef9682de7aa150bcfcd6f1208f
2 changes: 1 addition & 1 deletion packages/taiko-client/driver/chain_syncer/chain_syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (s *L2ChainSyncer) Sync() error {
}

// If the L2 execution engine's chain is head of the block head to sync at the start,
// or the --p2p.sync flag is disabled, we should mark the beacon sync progress as finished.
// and the --p2p.sync flag is enabled, we should mark the beacon sync progress as finished.
if !s.p2pSyncChecked {
s.p2pSyncChecked = true
if !needNewBeaconSyncTriggered && s.p2pSync {
Expand Down
Loading