aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.h
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-06-15 18:18:00 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-07-02 18:56:33 +0800
commit334c023c7231810f28ca5ea04f14df3f722cea07 (patch)
treea64e19e9388e1ddc0381cc464cf4eceb19b4e339 /test/RPCSession.h
parenta5608b31a759031377ec91300ad7a470d48bb1d2 (diff)
downloaddexon-solidity-334c023c7231810f28ca5ea04f14df3f722cea07.tar.gz
dexon-solidity-334c023c7231810f28ca5ea04f14df3f722cea07.tar.zst
dexon-solidity-334c023c7231810f28ca5ea04f14df3f722cea07.zip
Determine transaction status in RPC sessions.
Diffstat (limited to 'test/RPCSession.h')
-rw-r--r--test/RPCSession.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/RPCSession.h b/test/RPCSession.h
index 63f1dd21..5af2e26a 100644
--- a/test/RPCSession.h
+++ b/test/RPCSession.h
@@ -99,6 +99,8 @@ public:
std::string contractAddress;
std::vector<LogEntry> logEntries;
std::string blockNumber;
+ /// note: pre-byzantium the status field will be empty
+ std::string status;
};
static RPCSession& instance(std::string const& _path);
@@ -136,6 +138,7 @@ private:
unsigned m_maxMiningTime = 6000000; // 600 seconds
unsigned m_sleepTime = 10; // 10 milliseconds
unsigned m_successfulMineRuns = 0;
+ bool m_receiptHasStatusField = false;
std::vector<std::string> m_accounts;
};