mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #2280 from seusher/soltest_rpc_request_logging
Issue 2279: Log JSON RPC requests and responses when --log_level=mess…
This commit is contained in:
commit
6f9428e900
@ -316,9 +316,9 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const&
|
||||
request += "],\"id\":" + to_string(m_rpcSequence) + "}";
|
||||
++m_rpcSequence;
|
||||
|
||||
// cout << "Request: " << request << endl;
|
||||
BOOST_TEST_MESSAGE("Request: " + request);
|
||||
string reply = m_ipcSocket.sendRequest(request);
|
||||
// cout << "Reply: " << reply << endl;
|
||||
BOOST_TEST_MESSAGE("Reply: " + reply);
|
||||
|
||||
Json::Value result;
|
||||
BOOST_REQUIRE(Json::Reader().parse(reply, result, false));
|
||||
|
Loading…
Reference in New Issue
Block a user