Skip to content

Commit

Permalink
Add deprecation warning for using Rinkeby network
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko committed Dec 19, 2022
1 parent 7be4c3b commit a824146
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Features ⚒

#### General
- \ Add Rinkeby network deprecation warning (@leszko)

#### Broadcaster

Expand Down
4 changes: 4 additions & 0 deletions cmd/livepeer/starter/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ func StartLivepeer(ctx context.Context, cfg LivepeerConfig) {
},
}

if *cfg.Network == "rinkeby" || *cfg.Network == "arbitrum-one-rinkeby" {
glog.Warning("The Rinkeby/ArbRinkeby networks are deprecated in favor of the Goerli/ArbGoerli networks which will be launched in January 2023.")
}

// If multiple orchAddr specified, ensure other necessary flags present and clean up list
orchURLs := parseOrchAddrs(*cfg.OrchAddr)

Expand Down

0 comments on commit a824146

Please sign in to comment.