diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-11 18:55:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-07-15 21:52:55 +0800 |
commit | 461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (patch) | |
tree | 62a669dfab270dcfa1e334240083ba067569253f /cmd | |
parent | 7f00e8c0331bf13739e749bab88bf9006ca02f96 (diff) | |
download | go-tangerine-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.gz go-tangerine-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.zst go-tangerine-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.zip |
core, params, tests: add DAO hard-fork balance moves
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ethtest/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ethtest/main.go b/cmd/ethtest/main.go index e0ad0a7ea..71465fb55 100644 --- a/cmd/ethtest/main.go +++ b/cmd/ethtest/main.go @@ -74,9 +74,9 @@ func runTestWithReader(test string, r io.Reader) error { var err error switch strings.ToLower(test) { case "bk", "block", "blocktest", "blockchaintest", "blocktests", "blockchaintests": - err = tests.RunBlockTestWithReader(params.MainNetHomesteadBlock, r, skipTests) + err = tests.RunBlockTestWithReader(params.MainNetHomesteadBlock, params.MainNetDAOForkBlock, r, skipTests) case "st", "state", "statetest", "statetests": - rs := tests.RuleSet{HomesteadBlock: params.MainNetHomesteadBlock} + rs := tests.RuleSet{HomesteadBlock: params.MainNetHomesteadBlock, DAOForkBlock: params.MainNetDAOForkBlock, DAOForkSupport: true} err = tests.RunStateTestWithReader(rs, r, skipTests) case "tx", "transactiontest", "transactiontests": err = tests.RunTransactionTestsWithReader(r, skipTests) |