cmd/geth: add support for sepolia testnet (#23730)
* cmd/geth: add support for sepolia testnet * core: last details on sepolia genesis * params: fix sepolia hash + reduce testing code * Update params/bootnodes.go * cmd/geth: fix attach path for sepolia * params: update bootnodes * params: fix * core: fix docstring * params: add sepolia CHT
This commit is contained in:
committed by
GitHub
parent
8be8ba450e
commit
e1c000b0dd
@ -41,6 +41,15 @@ func RopstenGenesis() string {
|
||||
return string(enc)
|
||||
}
|
||||
|
||||
// SepoliaGenesis returns the JSON spec to use for the Sepolia test network.
|
||||
func SepoliaGenesis() string {
|
||||
enc, err := json.Marshal(core.DefaultSepoliaGenesisBlock())
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return string(enc)
|
||||
}
|
||||
|
||||
// RinkebyGenesis returns the JSON spec to use for the Rinkeby test network
|
||||
func RinkebyGenesis() string {
|
||||
enc, err := json.Marshal(core.DefaultRinkebyGenesisBlock())
|
||||
|
Reference in New Issue
Block a user