Skip to content

Commit

Permalink
Disable Sequencer sync mode (ethereum#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlfloersch authored Nov 14, 2020
1 parent 92ab231 commit 2a18e79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rollup/sync_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,12 @@ func (s *SyncService) sequencerIngestQueue() {
isAtTip := tip.Number().Uint64() == totalElements.Uint64()

pending, err := s.ctcCaller.GetNumPendingQueueElements(&opts)
// For now always disable sync service
if true {
// TODO: Remove this
s.setSyncStatus(false)
continue
}
if pending.Uint64() == 0 && isAtTip {
s.setSyncStatus(false)
continue
Expand Down

0 comments on commit 2a18e79

Please sign in to comment.