diff options
author | chriseth <chris@ethereum.org> | 2018-07-02 22:09:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-02 22:09:59 +0800 |
commit | 08aa7e47e482d1cc7861856a666875f3b1ea7d2b (patch) | |
tree | 0a35b8c72f255eb05481d4f296230c102f080310 /test/ExecutionFramework.h | |
parent | da60fdab37ddd6126e5ba605e7041dc6f26ab5ee (diff) | |
parent | 334c023c7231810f28ca5ea04f14df3f722cea07 (diff) | |
download | dexon-solidity-08aa7e47e482d1cc7861856a666875f3b1ea7d2b.tar.gz dexon-solidity-08aa7e47e482d1cc7861856a666875f3b1ea7d2b.tar.zst dexon-solidity-08aa7e47e482d1cc7861856a666875f3b1ea7d2b.zip |
Merge pull request #4305 from ethereum/transactionReceipts
Determine transaction status in RPC sessions.
Diffstat (limited to 'test/ExecutionFramework.h')
-rw-r--r-- | test/ExecutionFramework.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ExecutionFramework.h b/test/ExecutionFramework.h index 4525cbf9..cdbec81d 100644 --- a/test/ExecutionFramework.h +++ b/test/ExecutionFramework.h @@ -72,6 +72,7 @@ public: ) { compileAndRunWithoutCheck(_sourceCode, _value, _contractName, _arguments, _libraryAddresses); + BOOST_REQUIRE(m_transactionSuccessful); BOOST_REQUIRE(!m_output.empty()); return m_output; } @@ -234,6 +235,7 @@ protected: unsigned m_optimizeRuns = 200; bool m_optimize = false; bool m_showMessages = false; + bool m_transactionSuccessful = true; Address m_sender; Address m_contractAddress; u256 m_blockNumber; |