diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-12-13 02:51:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 02:51:49 +0800 |
commit | e62b98646f08c52bfa2cb06db75d6ba0da5be81d (patch) | |
tree | 85f34260ab71990a6eafd323a92137ffb3cdc1c7 | |
parent | e53fdb49335ccf5356a2fa8c1689afe82430a134 (diff) | |
parent | 6a40318138f297d179fc20dfc3c713296e74212f (diff) | |
download | dexon-solidity-e62b98646f08c52bfa2cb06db75d6ba0da5be81d.tar dexon-solidity-e62b98646f08c52bfa2cb06db75d6ba0da5be81d.tar.gz dexon-solidity-e62b98646f08c52bfa2cb06db75d6ba0da5be81d.tar.bz2 dexon-solidity-e62b98646f08c52bfa2cb06db75d6ba0da5be81d.tar.lz dexon-solidity-e62b98646f08c52bfa2cb06db75d6ba0da5be81d.tar.xz dexon-solidity-e62b98646f08c52bfa2cb06db75d6ba0da5be81d.tar.zst dexon-solidity-e62b98646f08c52bfa2cb06db75d6ba0da5be81d.zip |
Merge pull request #1494 from ethereum/showtxhash
Display tx hash for debugging.
-rw-r--r-- | test/ExecutionFramework.cpp | 7 |
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(); |