aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm_test_util.go
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 /tests/vm_test_util.go
parent7f00e8c0331bf13739e749bab88bf9006ca02f96 (diff)
downloadgo-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 'tests/vm_test_util.go')
-rw-r--r--tests/vm_test_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm_test_util.go b/tests/vm_test_util.go
index 2f516951b..37f0af33c 100644
--- a/tests/vm_test_util.go
+++ b/tests/vm_test_util.go
@@ -241,7 +241,7 @@ func RunVm(state *state.StateDB, env, exec map[string]string) ([]byte, vm.Logs,
caller := state.GetOrNewStateObject(from)
- vmenv := NewEnvFromMap(RuleSet{params.MainNetHomesteadBlock}, state, env, exec)
+ vmenv := NewEnvFromMap(RuleSet{params.MainNetHomesteadBlock, params.MainNetDAOForkBlock, true}, state, env, exec)
vmenv.vmTest = true
vmenv.skipTransfer = true
vmenv.initial = true