aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-18 19:56:50 +0800
committerGav Wood <i@gavwood.com>2015-03-18 19:56:50 +0800
commite48fd2ef7ea216862b9289130cc1a39af5da9914 (patch)
treea29529758d6c340cf9d929ff94f9e475c6d21a39
parente4bbc56c0b23d1a52e3aa8cf0a91b759ef53bd68 (diff)
downloaddexon-solidity-e48fd2ef7ea216862b9289130cc1a39af5da9914.tar.gz
dexon-solidity-e48fd2ef7ea216862b9289130cc1a39af5da9914.tar.zst
dexon-solidity-e48fd2ef7ea216862b9289130cc1a39af5da9914.zip
Extensive pathway for reporting transaction execution results.
-rw-r--r--checkRandomStateTest.cpp2
-rw-r--r--createRandomStateTest.cpp2
-rw-r--r--state.cpp2
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)
{
diff --git a/state.cpp b/state.cpp
index 162ae5f3..4ab59f7a 100644
--- a/state.cpp
+++ b/state.cpp
@@ -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)
{