aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-11 18:55:11 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-15 21:52:55 +0800
commit461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (patch)
tree62a669dfab270dcfa1e334240083ba067569253f /cmd
parent7f00e8c0331bf13739e749bab88bf9006ca02f96 (diff)
downloaddexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.gz
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.bz2
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.lz
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.xz
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.zst
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.zip
core, params, tests: add DAO hard-fork balance moves
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ethtest/main.go4
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)