Skip to content

Commit

Permalink
fix test_eth_estimate_gas_different_block_param (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinaNikolaevaa authored Aug 9, 2024
1 parent 6917072 commit 90cdc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/tests/basic/rpc/test_rpc_estimate_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_eth_estimate_gas_different_block_param(self, block_param: tp.Union[int,
response = json_rpc_client.send_rpc(method="eth_blockNumber")
assert "result" in response
EthResult(**response)
params.append(int(response["result"], 16))
params.append(response["result"])
if isinstance(block_param, Tag):
params.append(block_param.value)
response = json_rpc_client.send_rpc(method="eth_estimateGas", params=params)
Expand Down

0 comments on commit 90cdc6d

Please sign in to comment.