From 7514e8a24d3dc332e58be4b26f893aff8c24a9e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Mon, 2 Oct 2017 13:01:40 +0300 Subject: [PATCH] cmd/puppeth, params: enable Byzantium on all networks --- cmd/puppeth/wizard_genesis.go | 1 + params/config.go | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index 705e010314..43dae9c20e 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -42,6 +42,7 @@ func (w *wizard) makeGenesis() { EIP150Block: big.NewInt(2), EIP155Block: big.NewInt(3), EIP158Block: big.NewInt(3), + ByzantiumBlock: big.NewInt(4), }, } // Figure out which consensus engine to choose diff --git a/params/config.go b/params/config.go index fff168a8c2..bff701f092 100644 --- a/params/config.go +++ b/params/config.go @@ -18,7 +18,6 @@ package params import ( "fmt" - "math" "math/big" "github.com/ethereum/go-ethereum/common" @@ -40,7 +39,7 @@ var ( EIP150Hash: common.HexToHash("0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0"), EIP155Block: big.NewInt(2675000), EIP158Block: big.NewInt(2675000), - ByzantiumBlock: big.NewInt(math.MaxInt64), // Don't enable yet + ByzantiumBlock: big.NewInt(4370000), Ethash: new(EthashConfig), } @@ -70,7 +69,7 @@ var ( EIP150Hash: common.HexToHash("0x9b095b36c15eaf13044373aef8ee0bd3a382a5abb92e402afa44b8249c3a90e9"), EIP155Block: big.NewInt(3), EIP158Block: big.NewInt(3), - ByzantiumBlock: big.NewInt(math.MaxInt64), // Don't enable yet + ByzantiumBlock: big.NewInt(1035301), Clique: &CliqueConfig{ Period: 15,