Add missing tests for `gasleft(), blockhash() tx.gasprice and block.gaslimit`.

This commit is contained in:
Daniel Kirchner
2018-08-14 11:42:34 +02:00
parent 3dd31b704a
commit 06b7edfdcf
5 changed files with 109 additions and 0 deletions
+5
View File
@@ -207,6 +207,11 @@ string RPCSession::eth_getStorageRoot(string const& _address, string const& _blo
return rpcCall("eth_getStorageRoot", { quote(address), quote(_blockNumber) }).asString();
}
string RPCSession::eth_gasPrice()
{
return rpcCall("eth_gasPrice").asString();
}
void RPCSession::personal_unlockAccount(string const& _address, string const& _password, int _duration)
{
BOOST_REQUIRE_MESSAGE(