Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
fcbc05cc
Unverified
Commit
fcbc05cc
authored
May 16, 2022
by
Péter Szilágyi
Committed by
GitHub
May 16, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #24884 from karalabe/deprecate-rinkeby
cmd/utils: add deprecation warning for Rinkeby
parents
4f80f780
0a55b973
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
flags.go
cmd/utils/flags.go
+10
-0
No files found.
cmd/utils/flags.go
View file @
fcbc05cc
...
...
@@ -1724,6 +1724,16 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
cfg
.
Genesis
=
core
.
DefaultSepoliaGenesisBlock
()
SetDNSDiscoveryDefaults
(
cfg
,
params
.
SepoliaGenesisHash
)
case
ctx
.
GlobalBool
(
RinkebyFlag
.
Name
)
:
log
.
Warn
(
""
)
log
.
Warn
(
"--------------------------------------------------------------------------------"
)
log
.
Warn
(
"Please note, Rinkeby has been deprecated. It will still work for the time being,"
)
log
.
Warn
(
"but there will be no further hard-forks shipped for it. Eventually the network"
)
log
.
Warn
(
"will be permanently halted after the other networks transition through the merge"
)
log
.
Warn
(
"and prove stable enough. For the most future proof testnet, choose Sepolia as"
)
log
.
Warn
(
"your replacement environment (--sepolia instead of --rinkeby)."
)
log
.
Warn
(
"--------------------------------------------------------------------------------"
)
log
.
Warn
(
""
)
if
!
ctx
.
GlobalIsSet
(
NetworkIdFlag
.
Name
)
{
cfg
.
NetworkId
=
4
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment