You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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:
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.
The text was updated successfully, but these errors were encountered: