diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-02 18:01:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-10-02 18:01:40 +0800 |
commit | 7514e8a24d3dc332e58be4b26f893aff8c24a9e7 (patch) | |
tree | d390b3b3fc747024462f6eb70e300b5417f893da | |
parent | d78ad226c26c84635c60fad233de9e6e438a5599 (diff) | |
download | dexon-7514e8a24d3dc332e58be4b26f893aff8c24a9e7.tar.gz dexon-7514e8a24d3dc332e58be4b26f893aff8c24a9e7.tar.zst dexon-7514e8a24d3dc332e58be4b26f893aff8c24a9e7.zip |
cmd/puppeth, params: enable Byzantium on all networks
-rw-r--r-- | cmd/puppeth/wizard_genesis.go | 1 | ||||
-rw-r--r-- | 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 705e01031..43dae9c20 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 fff168a8c..bff701f09 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, |