Skip to content

Commit 5b23c87

Browse files
authored
integration: trace_filter new tests (#317)
1 parent 2343604 commit 5b23c87

File tree

10 files changed

+76
-17248
lines changed

10 files changed

+76
-17248
lines changed

integration/mainnet/trace_filter/test_18.json

-2,360
This file was deleted.
17 KB
Binary file not shown.

integration/mainnet/trace_filter/test_19.json

-8,484
This file was deleted.
37.9 KB
Binary file not shown.

integration/mainnet/trace_filter/test_20.json

-6,404
This file was deleted.
21.3 KB
Binary file not shown.
25.4 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "trace_filter",
7+
"params": [
8+
{
9+
"fromBlock": "0x2625A01",
10+
"toBlock": "0x2625A00"
11+
}
12+
]
13+
},
14+
"response": {
15+
"error": {
16+
"code": -32000,
17+
"message": "invalid parameters: fromBlock cannot be greater than toBlock"
18+
},
19+
"id": 1,
20+
"jsonrpc": "2.0",
21+
"result": null
22+
},
23+
"test": {
24+
"description": "FROM block greather than TO block",
25+
"reference": ""
26+
}
27+
}
28+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "trace_filter",
7+
"params": [
8+
{
9+
"fromBlock": "0x2625A00",
10+
"toBlock": "0x2626A01"
11+
}
12+
]
13+
},
14+
"response": {
15+
"id": 1,
16+
"jsonrpc": "2.0",
17+
"result": []
18+
},
19+
"test": {
20+
"description": "FROM block is not existent",
21+
"reference": ""
22+
}
23+
}
24+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "trace_filter",
7+
"params": [
8+
{
9+
"fromBlock": "0x1494A79",
10+
"toBlock": "0x2625A01"
11+
}
12+
]
13+
},
14+
"response": {
15+
"id": 1,
16+
"jsonrpc": "2.0",
17+
"result": []
18+
},
19+
"test": {
20+
"description": "TO block is not existent",
21+
"reference": ""
22+
}
23+
}
24+
]

0 commit comments

Comments
 (0)