@@ -191,7 +191,7 @@ string RPCSession::eth_getStorageRoot(string const& _address, string const& _blo
191
191
192
192
void RPCSession::personal_unlockAccount (string const & _address, string const & _password, int _duration)
193
193
{
194
- BOOST_CHECK (rpcCall (" personal_unlockAccount" , { quote (_address), quote (_password), to_string (_duration) }) == true );
194
+ BOOST_REQUIRE (rpcCall (" personal_unlockAccount" , { quote (_address), quote (_password), to_string (_duration) }) == true );
195
195
}
196
196
197
197
string RPCSession::personal_newAccount (string const & _password)
@@ -235,18 +235,18 @@ void RPCSession::test_setChainParams(vector<string> const& _accounts)
235
235
236
236
void RPCSession::test_setChainParams (string const & _config)
237
237
{
238
- BOOST_CHECK (rpcCall (" test_setChainParams" , { _config }) == true );
238
+ BOOST_REQUIRE (rpcCall (" test_setChainParams" , { _config }) == true );
239
239
}
240
240
241
241
void RPCSession::test_rewindToBlock (size_t _blockNr)
242
242
{
243
- BOOST_CHECK (rpcCall (" test_rewindToBlock" , { to_string (_blockNr) }) == true );
243
+ BOOST_REQUIRE (rpcCall (" test_rewindToBlock" , { to_string (_blockNr) }) == true );
244
244
}
245
245
246
246
void RPCSession::test_mineBlocks (int _number)
247
247
{
248
248
u256 startBlock = fromBigEndian<u256>(fromHex (rpcCall (" eth_blockNumber" ).asString ()));
249
- BOOST_CHECK (rpcCall (" test_mineBlocks" , { to_string (_number) }, true ) == true );
249
+ BOOST_REQUIRE (rpcCall (" test_mineBlocks" , { to_string (_number) }, true ) == true );
250
250
251
251
bool mined = false ;
252
252
@@ -285,7 +285,7 @@ void RPCSession::test_mineBlocks(int _number)
285
285
286
286
void RPCSession::test_modifyTimestamp (size_t _timestamp)
287
287
{
288
- BOOST_CHECK (rpcCall (" test_modifyTimestamp" , { to_string (_timestamp) }) == true );
288
+ BOOST_REQUIRE (rpcCall (" test_modifyTimestamp" , { to_string (_timestamp) }) == true );
289
289
}
290
290
291
291
Json::Value RPCSession::rpcCall (string const & _methodName, vector<string> const & _args, bool _canFail)
0 commit comments