@ -52,11 +52,10 @@ public:
bytes const& memory() const { return m_temp; }
u256s const& stack() const { return m_stack; }
private:
friend VMFace;
explicit VM(u256 _gas = 0): VMFace(_gas) {}
template <class Ext>
bytesConstRef go(Ext& _ext, OnOpFunc const& _onOp, uint64_t _steps);
@ -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());