forked from cerc-io/laconicd-deprecated
fix(rpc): estimate gas error response (#1340)
* format error on EstimateGas rpc call * changelog Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
co-authored by
Federico Kunze Küllmer
parent
592e75b909
commit
5c80a55287
@@ -313,6 +313,8 @@ def test_estimate_gas(ethermint, geth):
|
||||
eth_rpc = ethermint.w3.provider
|
||||
geth_rpc = geth.w3.provider
|
||||
make_same_rpc_calls(eth_rpc, geth_rpc, "eth_estimateGas", [tx])
|
||||
make_same_rpc_calls(eth_rpc, geth_rpc, "eth_estimateGas", [tx, "0x0"])
|
||||
make_same_rpc_calls(eth_rpc, geth_rpc, "eth_estimateGas", [tx, "0x5000"])
|
||||
make_same_rpc_calls(eth_rpc, geth_rpc, "eth_estimateGas", [{}])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user