all: remove the Rinkeby testnet (#27406)

This commit is contained in:
Péter Szilágyi
2023-06-02 14:03:21 +03:00
committed by GitHub
parent 15bd21f3c8
commit c7c84ca16c
22 changed files with 23 additions and 1013 deletions
+3 -3
View File
@@ -57,7 +57,7 @@ func main() {
for i := 0; i < len(sealers); i++ {
sealers[i], _ = crypto.GenerateKey()
}
// Create a Clique network based off of the Rinkeby config
// Create a Clique network based off of the Sepolia config
genesis := makeGenesis(faucets, sealers)
// Handle interrupts.
@@ -147,8 +147,8 @@ func main() {
// makeGenesis creates a custom Clique genesis block based on some pre-defined
// signer and faucet accounts.
func makeGenesis(faucets []*ecdsa.PrivateKey, sealers []*ecdsa.PrivateKey) *core.Genesis {
// Create a Clique network based off of the Rinkeby config
genesis := core.DefaultRinkebyGenesisBlock()
// Create a Clique network based off of the Seplia config
genesis := core.DefaultSepoliaGenesisBlock()
genesis.GasLimit = 25000000
genesis.Config.ChainID = big.NewInt(18)