Skip to content

Commit b25ce0f

Browse files
committed
fix
1 parent 0a00879 commit b25ce0f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

benchmarks/web3/_utils/test_method_formatters_benchmarks.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ def test_faster_PYTHONIC_REQUEST_FORMATTERS(
7070

7171
TRACE = {"action": {}, "result": {}, "blockHash": HASH32, "blockNumber": 1, "transactionHash": HASH32}
7272

73-
RAW_TRACE = {"trace": [], "output": "0x", "transactionHash": HASH32}
74-
# i dont think this name is right but idk what it actually represents
73+
TRACE_RESPONSE = {"trace": [TRACE] * 50, "output": "0x", "transactionHash": HASH32}
7574

7675
RESULT_DATA = {
7776
"eth_accounts": [
@@ -178,9 +177,9 @@ def test_faster_PYTHONIC_REQUEST_FORMATTERS(
178177
"trace_block": [TRACE] * 1000,
179178
"trace_transaction": [TRACE] * 50,
180179
"trace_filter": [TRACE] * 2000,
181-
"trace_rawTransaction": [RAW_TRACE] * 50,
182-
"trace_replayTransaction": [RAW_TRACE] * 50,
183-
"trace_replayBlockTransactions": [RAW_TRACE] * 1000,
180+
"trace_rawTransaction": TRACE_RESPONSE,
181+
"trace_replayTransaction": TRACE_RESPONSE,
182+
"trace_replayBlockTransactions": TRACE_RESPONSE,
184183
"trace_call": {"from": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"},
185184
}
186185

0 commit comments

Comments
 (0)