diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-09-14 15:59:05 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-09-14 15:59:05 +0800 |
commit | 701d60c889f885b3995122a5f9bb9656b75857bd (patch) | |
tree | aa5bae863cee43d1f8ab37c63dac230bb805ed40 /params/config.go | |
parent | 9be07de5396527eb527f3ca0dd402213c0008a3e (diff) | |
download | dexon-701d60c889f885b3995122a5f9bb9656b75857bd.tar dexon-701d60c889f885b3995122a5f9bb9656b75857bd.tar.gz dexon-701d60c889f885b3995122a5f9bb9656b75857bd.tar.bz2 dexon-701d60c889f885b3995122a5f9bb9656b75857bd.tar.lz dexon-701d60c889f885b3995122a5f9bb9656b75857bd.tar.xz dexon-701d60c889f885b3995122a5f9bb9656b75857bd.tar.zst dexon-701d60c889f885b3995122a5f9bb9656b75857bd.zip |
params: enable Byzantium on Ropsten/tests, fix failures
Diffstat (limited to 'params/config.go')
-rw-r--r-- | params/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/params/config.go b/params/config.go index 324620ad5..5c6f0b6bf 100644 --- a/params/config.go +++ b/params/config.go @@ -55,7 +55,7 @@ var ( EIP150Hash: common.HexToHash("0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d"), EIP155Block: big.NewInt(10), EIP158Block: big.NewInt(10), - ByzantiumBlock: big.NewInt(math.MaxInt64), // Don't enable yet + ByzantiumBlock: big.NewInt(1700000), Ethash: new(EthashConfig), } @@ -86,8 +86,8 @@ var ( // means that all fields must be set at all times. This forces // anyone adding flags to the config to also have to set these // fields. - AllProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(math.MaxInt64) /*disabled*/, new(EthashConfig), nil} - TestChainConfig = &ChainConfig{big.NewInt(1), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), nil, new(EthashConfig), nil} + AllProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), new(EthashConfig), nil} + TestChainConfig = &ChainConfig{big.NewInt(1), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0), big.NewInt(0), new(EthashConfig), nil} TestRules = TestChainConfig.Rules(new(big.Int)) ) |