Skip to content

Commit

Permalink
Make devnet already cutover
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Jun 28, 2024
1 parent b47819e commit 5e7459c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/pkg/p2p/gossip_cutover.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

// The format of this time is very picky. Please use the exact format specified by cutOverFmtStr!
const mainnetCutOverTimeStr = ""
const testnetCutOverTimeStr = "2024-11-07T14:00:00-0000"
const devnetCutOverTimeStr = "2026-06-01T00:00:00-0000"
const testnetCutOverTimeStr = ""
const devnetCutOverTimeStr = "2024-06-01T00:00:00-0000"
const cutOverFmtStr = "2006-01-02T15:04:05-0700"

// gossipCutoverCompleteFlag indicates if the cutover time has passed, meaning we should publish only on the new topics.
Expand Down Expand Up @@ -41,7 +41,7 @@ func evaluateGossipCutOver(logger *zap.Logger, networkID string) error {
go func() {
time.Sleep(delay)
logger.Info("time to cut over to new gossip topics", zap.String("cutOverTime", cutOverTimeStr), zap.String("component", "p2pco"))
gossipCutoverCompleteFlag.Store(sco)
gossipCutoverCompleteFlag.Store(true)
}()
}

Expand Down

0 comments on commit 5e7459c

Please sign in to comment.