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