mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extensive pathway for reporting transaction execution results.
This commit is contained in:
parent
e4bbc56c0b
commit
e48fd2ef7e
@ -87,7 +87,7 @@ bool doStateTest(mValue& _v)
|
|||||||
|
|
||||||
try
|
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)
|
catch (Exception const& _e)
|
||||||
{
|
{
|
||||||
|
@ -162,7 +162,7 @@ void doStateTests(json_spirit::mValue& _v)
|
|||||||
|
|
||||||
try
|
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)
|
catch (Exception const& _e)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,7 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
Listener::ExecTimeGuard guard{i.first};
|
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)
|
catch (Exception const& _e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user