This repository was archived by the owner on Aug 8, 2018. It is now read-only.

Description
Hello, when using new_abi_contract from rpc_client to create a new ABIContract object, and later calling a contract method, I get the following error:
{"id":5,"jsonrpc":"2.0","error":{"code":-32601,"message":"eth_gasLimit method not implemented"}}
I'm using geth 1.3.3. as a client.
In the JSON RPC docs, eth_gasLimit is indeed not defined. I guess it was replaced with eth_getBlockByHash, which has a gasLimit field.
Maybe both calls to eth_gasLimit in rpc_client should be replaced with a call to eth_estimateGas, or with a series of two calls: eth_blockNumber followed by eth_getBlockByNumber, if you want to stick to the gas limit convention?
I will gladly contribute if one of the suggested fixes is a correct solution.