diff options
author | chriseth <chris@ethereum.org> | 2018-08-14 18:14:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 18:14:53 +0800 |
commit | d01ffd1ad9737a13a7d39e33246d101b36b5cd93 (patch) | |
tree | 20a7a250cd491fd2d639a4bfd4a19f77a2fc5542 /test/RPCSession.cpp | |
parent | 6ca3973944546d1a5518274fea47e635a07f9ca5 (diff) | |
parent | b325a70d59baf1afc4e284cc8738d71069ec97c2 (diff) | |
download | dexon-solidity-d01ffd1ad9737a13a7d39e33246d101b36b5cd93.tar dexon-solidity-d01ffd1ad9737a13a7d39e33246d101b36b5cd93.tar.gz dexon-solidity-d01ffd1ad9737a13a7d39e33246d101b36b5cd93.tar.bz2 dexon-solidity-d01ffd1ad9737a13a7d39e33246d101b36b5cd93.tar.lz dexon-solidity-d01ffd1ad9737a13a7d39e33246d101b36b5cd93.tar.xz dexon-solidity-d01ffd1ad9737a13a7d39e33246d101b36b5cd93.tar.zst dexon-solidity-d01ffd1ad9737a13a7d39e33246d101b36b5cd93.zip |
Merge pull request #4799 from ethereum/semanticsTestsGasEtAl
Semantics tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ``block.gaslimit``
Diffstat (limited to 'test/RPCSession.cpp')
-rw-r--r-- | test/RPCSession.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index b9b19b2f..9ac24972 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -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( |