diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-12-05 16:24:47 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-12-05 16:24:47 +0800 |
commit | 20b6b30b999447e7770b062bf71741d2ba88d1fb (patch) | |
tree | fe47f1ad89bf2802dd2c25debeb7b9ae10be0981 /vm.cpp | |
parent | 29b1964cfbcc21bb16cbeddfb2662c22813056f0 (diff) | |
parent | 3c8a45cec4a36ebd4560d7f4ee718b60680b3010 (diff) | |
download | dexon-solidity-20b6b30b999447e7770b062bf71741d2ba88d1fb.tar.gz dexon-solidity-20b6b30b999447e7770b062bf71741d2ba88d1fb.tar.zst dexon-solidity-20b6b30b999447e7770b062bf71741d2ba88d1fb.zip |
Merge branch 'develop' into develop-evmcc
Conflicts:
libevm/VM.h
test/createRandomTest.cpp
Diffstat (limited to 'vm.cpp')
-rw-r--r-- | vm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -150,7 +150,7 @@ void FakeExtVM::importLog(mObject& _o) LogEntry log; log.address = Address(o["address"].get_str()); for (auto const& t: o["topics"].get_array()) - log.topics.insert(h256(t.get_str())); + log.topics.push_back(h256(t.get_str())); log.data = importData(o); sub.logs.push_back(log); } @@ -410,7 +410,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin) o["callcreates"] = fev.exportCallCreates(); o["out"] = "0x" + toHex(output); fev.push(o, "gas", gas); - o["logs"] = mValue(fev.exportLog()); + o["logs"] = mValue(exportLog(fev.sub.logs)); } } else @@ -428,7 +428,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin) dev::test::FakeExtVM test; test.importState(o["post"].get_obj()); test.importCallCreates(o["callcreates"].get_array()); - test.importLog(o["logs"].get_obj()); + test.sub.logs = importLog(o["logs"].get_obj()); checkOutput(output, o); |