diff options
author | Gav Wood <i@gavwood.com> | 2015-03-18 19:56:50 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-18 19:56:50 +0800 |
commit | e48fd2ef7ea216862b9289130cc1a39af5da9914 (patch) | |
tree | a29529758d6c340cf9d929ff94f9e475c6d21a39 | |
parent | e4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68 (diff) | |
download | dexon-solidity-e48fd2ef7ea216862b9289130cc1a39af5da9914.tar.gz dexon-solidity-e48fd2ef7ea216862b9289130cc1a39af5da9914.tar.zst dexon-solidity-e48fd2ef7ea216862b9289130cc1a39af5da9914.zip |
Extensive pathway for reporting transaction execution results.
-rw-r--r-- | checkRandomStateTest.cpp | 2 | ||||
-rw-r--r-- | createRandomStateTest.cpp | 2 | ||||
-rw-r--r-- | state.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/checkRandomStateTest.cpp b/checkRandomStateTest.cpp index 17e785f6..0fa7233b 100644 --- a/checkRandomStateTest.cpp +++ b/checkRandomStateTest.cpp @@ -87,7 +87,7 @@ bool doStateTest(mValue& _v) try { - theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx, &output); + output = theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx).output; } catch (Exception const& _e) { diff --git a/createRandomStateTest.cpp b/createRandomStateTest.cpp index 13b622bb..c03deca8 100644 --- a/createRandomStateTest.cpp +++ b/createRandomStateTest.cpp @@ -162,7 +162,7 @@ void doStateTests(json_spirit::mValue& _v) try { - theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), tx, &output); + output = theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), tx).output; } catch (Exception const& _e) { @@ -63,7 +63,7 @@ void doStateTests(json_spirit::mValue& v, bool _fillin) try { Listener::ExecTimeGuard guard{i.first}; - theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx, &output); + output = theState.execute(lastHashes(importer.m_environment.currentBlock.number), tx).output; } catch (Exception const& _e) { |