aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-12-09 21:18:10 +0800
committerchriseth <c@ethdev.com>2016-12-10 03:29:02 +0800
commit6a40318138f297d179fc20dfc3c713296e74212f (patch)
tree94c6ab986fdfbd7d45f8c1a6a9fd4eb5ce3d00c6 /test
parent84443eb56022cdb236425b99e253d0b142261372 (diff)
downloaddexon-solidity-6a40318138f297d179fc20dfc3c713296e74212f.tar
dexon-solidity-6a40318138f297d179fc20dfc3c713296e74212f.tar.gz
dexon-solidity-6a40318138f297d179fc20dfc3c713296e74212f.tar.bz2
dexon-solidity-6a40318138f297d179fc20dfc3c713296e74212f.tar.lz
dexon-solidity-6a40318138f297d179fc20dfc3c713296e74212f.tar.xz
dexon-solidity-6a40318138f297d179fc20dfc3c713296e74212f.tar.zst
dexon-solidity-6a40318138f297d179fc20dfc3c713296e74212f.zip
Display tx hash for debugging.
Diffstat (limited to 'test')
-rw-r--r--test/ExecutionFramework.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/ExecutionFramework.cpp b/test/ExecutionFramework.cpp
index 9e3ecac3..ddcd9cb6 100644
--- a/test/ExecutionFramework.cpp
+++ b/test/ExecutionFramework.cpp
@@ -62,7 +62,7 @@ void ExecutionFramework::sendMessage(bytes const& _data, bool _isCreation, u256
cout << "CALL " << m_sender.hex() << " -> " << m_contractAddress.hex() << ":" << endl;
if (_value > 0)
cout << " value: " << _value << endl;
- cout << " in: " << toHex(_data) << endl;
+ cout << " in: " << toHex(_data) << endl;
}
RPCSession::TransactionData d;
d.data = "0x" + toHex(_data);
@@ -91,7 +91,10 @@ void ExecutionFramework::sendMessage(bytes const& _data, bool _isCreation, u256
}
if (m_showMessages)
- cout << " out: " << toHex(m_output) << endl;
+ {
+ cout << " out: " << toHex(m_output) << endl;
+ cout << " tx hash: " << txHash << endl;
+ }
m_gasUsed = u256(receipt.gasUsed);
m_logs.clear();