aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'TestHelper.h')
-rw-r--r--TestHelper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/TestHelper.h b/TestHelper.h
index bf4cdc16..1e09cf69 100644
--- a/TestHelper.h
+++ b/TestHelper.h
@@ -161,6 +161,14 @@ void userDefinedTest(std::string testTypeFlag, std::function<void(json_spirit::m
RLPStream createRLPStreamFromTransactionFields(json_spirit::mObject& _tObj);
eth::LastHashes lastHashes(u256 _currentBlockNumber);
json_spirit::mObject fillJsonWithState(eth::State _state);
+json_spirit::mObject fillJsonWithTransaction(eth::Transaction _txn);
+std::string jsonHash(dev::eth::LogBloom const& _value);
+std::string jsonHash(Address const& _value);
+std::string jsonHash(dev::eth::Nonce const& _value);
+std::string jsonHash(h256 const& _value);
+std::string jsonHex(u256 const& _value, bool _nonempty = true);
+std::string jsonHex(bytesConstRef _code);
+std::string jsonHex(bytes const& _code);
template<typename mapType>
void checkAddresses(mapType& _expectedAddrs, mapType& _resultAddrs)