From 3a625d7c0aae66fe4a09e2288600367dddd3ca12 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Fri, 24 Nov 2023 18:11:33 +0800 Subject: [PATCH] avoid cannot unmarshal non-string err by pass hex --- tests/integration_tests/test_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration_tests/test_types.py b/tests/integration_tests/test_types.py index 237cf3896a..eff303494b 100644 --- a/tests/integration_tests/test_types.py +++ b/tests/integration_tests/test_types.py @@ -371,7 +371,7 @@ def test_incomplete_send_transaction(ethermint_rpc_ws, geth): eth_rpc = w3.provider geth_rpc = geth.w3.provider gas_price = w3.eth.gas_price - tx = {"from": "", "to": ADDRS["community"], "value": 0, "gasPrice": gas_price} + tx = {"from": "", "to": ADDRS["community"], "gasPrice": hex(gas_price)} make_same_rpc_calls(eth_rpc, geth_rpc, "eth_sendTransaction", [tx])