aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2014-12-02 05:04:09 +0800
committerCJentzsch <jentzsch.software@gmail.com>2014-12-02 05:41:16 +0800
commitd952833c1b86ce45c6da826ce2a9877ffa795d9e (patch)
tree2704cf263e3f005fedf3d106c040eb6a89261248 /state.cpp
parent366514a72577d9e9b1c58fc768d084e73ef4f3a5 (diff)
downloaddexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar.gz
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.tar.zst
dexon-solidity-d952833c1b86ce45c6da826ce2a9877ffa795d9e.zip
added logs to state tests
Diffstat (limited to 'state.cpp')
-rw-r--r--state.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/state.cpp b/state.cpp
index 8ee7b2e9..c2b41fca 100644
--- a/state.cpp
+++ b/state.cpp
@@ -81,6 +81,9 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
// check output
checkOutput(output, o);
+ // check logs
+ checkLog(theState.pending().size() ? theState.log(0) : LogEntries(), importer.m_environment.sub.logs);
+
// check addresses
auto expectedAddrs = importer.m_statePost.addresses();
auto resultAddrs = theState.addresses();