aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--createRandomTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/createRandomTest.cpp b/createRandomTest.cpp
index 874869a5..dbe50851 100644
--- a/createRandomTest.cpp
+++ b/createRandomTest.cpp
@@ -97,7 +97,9 @@ void doMyTests(json_spirit::mValue& v)
assert(o.count("pre") > 0);
assert(o.count("exec") > 0);
- eth::VM vm;
+
+ auto vmObj = eth::VMFace::create(eth::VMFace::Interpreter);
+ auto& vm = *vmObj;
test::FakeExtVM fev;
fev.importEnv(o["env"].get_obj());
fev.importState(o["pre"].get_obj());