diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-10-23 18:38:45 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-10-23 18:38:45 +0800 |
commit | 7b7d991954f9f567e1f8b36447e9a4ed851335ce (patch) | |
tree | f0bdd1c8c31767101bf81427e8079fb7e316eeaf | |
parent | 6ac0c1302adbe9781a945377e369432bf37d0ea6 (diff) | |
download | dexon-solidity-7b7d991954f9f567e1f8b36447e9a4ed851335ce.tar.gz dexon-solidity-7b7d991954f9f567e1f8b36447e9a4ed851335ce.tar.zst dexon-solidity-7b7d991954f9f567e1f8b36447e9a4ed851335ce.zip |
Update createRandomTest.cpp to use new VM construction method
-rw-r--r-- | createRandomTest.cpp | 4 |
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()); |