Skip to content

Commit d347656

Browse files
authored
Merge pull request #15224 from karalabe/byzantium-block-numbers
cmd/puppeth, params: enable Byzantium on all networks
2 parents f86c417 + 7514e8a commit d347656

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/puppeth/wizard_genesis.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ func (w *wizard) makeGenesis() {
4242
EIP150Block: big.NewInt(2),
4343
EIP155Block: big.NewInt(3),
4444
EIP158Block: big.NewInt(3),
45+
ByzantiumBlock: big.NewInt(4),
4546
},
4647
}
4748
// Figure out which consensus engine to choose

params/config.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package params
1818

1919
import (
2020
"fmt"
21-
"math"
2221
"math/big"
2322

2423
"github.com/ethereum/go-ethereum/common"
@@ -40,7 +39,7 @@ var (
4039
EIP150Hash: common.HexToHash("0x2086799aeebeae135c246c65021c82b4e15a2c451340993aacfd2751886514f0"),
4140
EIP155Block: big.NewInt(2675000),
4241
EIP158Block: big.NewInt(2675000),
43-
ByzantiumBlock: big.NewInt(math.MaxInt64), // Don't enable yet
42+
ByzantiumBlock: big.NewInt(4370000),
4443

4544
Ethash: new(EthashConfig),
4645
}
@@ -70,7 +69,7 @@ var (
7069
EIP150Hash: common.HexToHash("0x9b095b36c15eaf13044373aef8ee0bd3a382a5abb92e402afa44b8249c3a90e9"),
7170
EIP155Block: big.NewInt(3),
7271
EIP158Block: big.NewInt(3),
73-
ByzantiumBlock: big.NewInt(math.MaxInt64), // Don't enable yet
72+
ByzantiumBlock: big.NewInt(1035301),
7473

7574
Clique: &CliqueConfig{
7675
Period: 15,

0 commit comments

Comments
 (0)