Difference between revisions of "WARN Local chain is post-merge, waiting for beacon client sync switch-over..."

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
  
<code>
+
 
.../...
+
.../...
 
// If we've reached the merge transition but no beacon client is available, or
 
// If we've reached the merge transition but no beacon client is available, or
 
// it has not yet switched us over, keep warning the user that their infra is
 
// it has not yet switched us over, keep warning the user that their infra is
Line 14: Line 14:
 
log.Warn("Local chain is post-merge, waiting for beacon client sync switch-over...")
 
log.Warn("Local chain is post-merge, waiting for beacon client sync switch-over...")
 
cs.warned = time.Now()
 
cs.warned = time.Now()
.../...
+
.../...
</code>
+
 
 
 
== See also ==
 
== See also ==
 
* {{geth}}
 
* {{geth}}
  
 
[[Category:Geth]]
 
[[Category:Geth]]

Revision as of 12:20, 21 August 2022


WARN Local chain is post-merge, waiting for beacon client sync switch-over... [1]
Solution: Install and configure your consensus client


.../...

// If we've reached the merge transition but no beacon client is available, or // it has not yet switched us over, keep warning the user that their infra is // potentially flaky. if errors.Is(err, downloader.ErrMergeTransition) && time.Since(cs.warned) > 10*time.Second { log.Warn("Local chain is post-merge, waiting for beacon client sync switch-over...") cs.warned = time.Now()

.../...

See also

  • https://github.com/ethereum/go-ethereum/blob/0ce494b60cd00d70f1f9f2dd0b9bfbd76204168a/eth/sync.go#L133
  • Advertising: