diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-09-14 15:07:31 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-09-14 15:10:46 +0800 |
commit | 5bbd7fb390a539a7183bccc5f2b75b4e564ed398 (patch) | |
tree | 1c13d07970c559b460e83d686ce71cbb484de2ab /tests | |
parent | 79b11121a7e4beef0d0297894289200b9842c36c (diff) | |
download | go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.gz go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.bz2 go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.lz go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.xz go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.tar.zst go-tangerine-5bbd7fb390a539a7183bccc5f2b75b4e564ed398.zip |
consensus, core, params: rebrand Metro to Byzantium
Diffstat (limited to 'tests')
-rw-r--r-- | tests/init.go | 26 | ||||
-rw-r--r-- | tests/transaction_test.go | 12 |
2 files changed, 19 insertions, 19 deletions
diff --git a/tests/init.go b/tests/init.go index 0c3fe61d1..a2c633ad6 100644 --- a/tests/init.go +++ b/tests/init.go @@ -45,13 +45,13 @@ var Forks = map[string]*params.ChainConfig{ EIP158Block: big.NewInt(0), }, "Byzantium": ¶ms.ChainConfig{ - ChainId: big.NewInt(1), - HomesteadBlock: big.NewInt(0), - EIP150Block: big.NewInt(0), - EIP155Block: big.NewInt(0), - EIP158Block: big.NewInt(0), - DAOForkBlock: big.NewInt(0), - MetropolisBlock: big.NewInt(0), + ChainId: big.NewInt(1), + HomesteadBlock: big.NewInt(0), + EIP150Block: big.NewInt(0), + EIP155Block: big.NewInt(0), + EIP158Block: big.NewInt(0), + DAOForkBlock: big.NewInt(0), + ByzantiumBlock: big.NewInt(0), }, "FrontierToHomesteadAt5": ¶ms.ChainConfig{ ChainId: big.NewInt(1), @@ -69,12 +69,12 @@ var Forks = map[string]*params.ChainConfig{ DAOForkSupport: true, }, "EIP158ToByzantiumAt5": ¶ms.ChainConfig{ - ChainId: big.NewInt(1), - HomesteadBlock: big.NewInt(0), - EIP150Block: big.NewInt(0), - EIP155Block: big.NewInt(0), - EIP158Block: big.NewInt(0), - MetropolisBlock: big.NewInt(5), + ChainId: big.NewInt(1), + HomesteadBlock: big.NewInt(0), + EIP150Block: big.NewInt(0), + EIP155Block: big.NewInt(0), + EIP158Block: big.NewInt(0), + ByzantiumBlock: big.NewInt(5), }, } diff --git a/tests/transaction_test.go b/tests/transaction_test.go index 72d43c0ec..c743996c2 100644 --- a/tests/transaction_test.go +++ b/tests/transaction_test.go @@ -37,12 +37,12 @@ func TestTransaction(t *testing.T) { EIP158Block: big.NewInt(0), ChainId: big.NewInt(1), }) - txt.config(`^Metropolis/`, params.ChainConfig{ - HomesteadBlock: big.NewInt(0), - EIP150Block: big.NewInt(0), - EIP155Block: big.NewInt(0), - EIP158Block: big.NewInt(0), - MetropolisBlock: big.NewInt(0), + txt.config(`^Byzantium/`, params.ChainConfig{ + HomesteadBlock: big.NewInt(0), + EIP150Block: big.NewInt(0), + EIP155Block: big.NewInt(0), + EIP158Block: big.NewInt(0), + ByzantiumBlock: big.NewInt(0), }) txt.walk(t, transactionTestDir, func(t *testing.T, name string, test *TransactionTest) { |