diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-11 01:19:21 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-14 17:42:34 +0800 |
commit | 06b7edfdcfd960e5d4012c7d20913efab0516ca1 (patch) | |
tree | bc1364f3bc8687c26d3e7d6c7a101e4af64bc9bd /test/RPCSession.h | |
parent | 3dd31b704af6c50bc56217fd07266f7872daaa44 (diff) | |
download | dexon-solidity-06b7edfdcfd960e5d4012c7d20913efab0516ca1.tar dexon-solidity-06b7edfdcfd960e5d4012c7d20913efab0516ca1.tar.gz dexon-solidity-06b7edfdcfd960e5d4012c7d20913efab0516ca1.tar.bz2 dexon-solidity-06b7edfdcfd960e5d4012c7d20913efab0516ca1.tar.lz dexon-solidity-06b7edfdcfd960e5d4012c7d20913efab0516ca1.tar.xz dexon-solidity-06b7edfdcfd960e5d4012c7d20913efab0516ca1.tar.zst dexon-solidity-06b7edfdcfd960e5d4012c7d20913efab0516ca1.zip |
Add missing tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ``block.gaslimit``.
Diffstat (limited to 'test/RPCSession.h')
-rw-r--r-- | test/RPCSession.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/RPCSession.h b/test/RPCSession.h index 5af2e26a..6e1391b4 100644 --- a/test/RPCSession.h +++ b/test/RPCSession.h @@ -113,6 +113,7 @@ public: std::string eth_sendTransaction(std::string const& _transaction); std::string eth_getBalance(std::string const& _address, std::string const& _blockNumber); std::string eth_getStorageRoot(std::string const& _address, std::string const& _blockNumber); + std::string eth_gasPrice(); std::string personal_newAccount(std::string const& _password); void personal_unlockAccount(std::string const& _address, std::string const& _password, int _duration); void test_setChainParams(std::vector<std::string> const& _accounts); |