Skip to content

Commit d90a5bf

Browse files
committed
fix debug_traceCall params
1 parent ac661b4 commit d90a5bf

File tree

1 file changed

+1
-7
lines changed
  • chainbench/user/protocol

1 file changed

+1
-7
lines changed

chainbench/user/protocol/evm.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,9 @@ def _debug_trace_call_params_factory(self, rng: RNG) -> list[dict | BlockNumber]
5454
tx_data = self.test_data.get_random_tx(rng)
5555
tx_param = {
5656
"to": tx_data["to"],
57-
"gas": tx_data["gas"],
58-
"value": tx_data["value"],
57+
"value": "0x0",
5958
}
6059

61-
if "maxFeePerGas" in tx_data:
62-
tx_param["maxFeePerGas"] = tx_data["maxFeePerGas"]
63-
else:
64-
tx_param["gasPrice"] = tx_data["gasPrice"]
65-
6660
if "input" in tx_data:
6761
if tx_data["input"] != "0x":
6862
tx_param["data"] = tx_data["input"]

0 commit comments

Comments
 (0)