Skip to content

Commit 3f38e2b

Browse files
authored
integration: restore ots_getInternalOperation expected responses (#355)
1 parent 62a82e7 commit 3f38e2b

File tree

6 files changed

+135
-138
lines changed

6 files changed

+135
-138
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
[
22
{
33
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getInternalOperations",
6-
"params":[
4+
"jsonrpc": "2.0",
5+
"method": "ots_getInternalOperations",
6+
"params": [
77
"0x32f435ccb05b1f39c79006178bb4575e99904899236b368378f1b4c321c6454e"
88
],
9-
"id":1
9+
"id": 1
1010
},
11-
"response":{
12-
"jsonrpc":"2.0",
13-
"id":1,
14-
"result": [
15-
{
16-
"from": "0x82e0b8cdd80af5930c4452c684e71c861148ec8a",
17-
"to": "0xe6e3f947ccd0add1effde3bf3d210e5d711beace",
18-
"type": 0,
19-
"value": "0x58d15e176280000"
20-
},
21-
{
22-
"from": "0xe6e3f947ccd0add1effde3bf3d210e5d711beace",
23-
"to": "0xe6b738da243e8fa2a0ed5915645789add5de5152",
24-
"type": 0,
25-
"value": "0xc6f3b40b6c000"
26-
},
27-
{
28-
"from": "0xe6e3f947ccd0add1effde3bf3d210e5d711beace",
29-
"to": "0x6ef81a18e1e432c289dc0d1a670b78e8bbf9aa35",
30-
"type": 0,
31-
"value": "0x580a6a635714000"
32-
},
33-
{
34-
"from": "0x6ef81a18e1e432c289dc0d1a670b78e8bbf9aa35",
35-
"to": "0xb8901acb165ed027e32754e0ffe830802919727f",
36-
"type": 0,
37-
"value": "0x580a6a635714000"
38-
},
39-
{
40-
"from": "0xdd378a11475d588908001e0e99e4fd89abda5434",
41-
"to": "0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
42-
"type": 0,
43-
"value": "0x336b196a2510"
44-
},
45-
{
46-
"from": "0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
47-
"to": "0x8315177ab297ba92a06054ce80a67ed4dbd7ed3a",
48-
"type": 0,
49-
"value": "0x336b196a2510"
50-
}
51-
]
11+
"response": {
12+
"jsonrpc": "2.0",
13+
"id": 1,
14+
"result": [
15+
{
16+
"from": "0x82e0b8cdd80af5930c4452c684e71c861148ec8a",
17+
"to": "0xe6e3f947ccd0add1effde3bf3d210e5d711beace",
18+
"type": 0,
19+
"value": "0x58d15e176280000"
20+
},
21+
{
22+
"from": "0xe6e3f947ccd0add1effde3bf3d210e5d711beace",
23+
"to": "0xe6b738da243e8fa2a0ed5915645789add5de5152",
24+
"type": 0,
25+
"value": "0xc6f3b40b6c000"
26+
},
27+
{
28+
"from": "0xe6e3f947ccd0add1effde3bf3d210e5d711beace",
29+
"to": "0x6ef81a18e1e432c289dc0d1a670b78e8bbf9aa35",
30+
"type": 0,
31+
"value": "0x580a6a635714000"
32+
},
33+
{
34+
"from": "0x6ef81a18e1e432c289dc0d1a670b78e8bbf9aa35",
35+
"to": "0xb8901acb165ed027e32754e0ffe830802919727f",
36+
"type": 0,
37+
"value": "0x580a6a635714000"
38+
},
39+
{
40+
"from": "0xdd378a11475d588908001e0e99e4fd89abda5434",
41+
"to": "0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
42+
"type": 0,
43+
"value": "0x336b196a2510"
44+
},
45+
{
46+
"from": "0x4dbd4fc535ac27206064b68ffcf827b0a60bab3f",
47+
"to": "0x8315177ab297ba92a06054ce80a67ed4dbd7ed3a",
48+
"type": 0,
49+
"value": "0x336b196a2510"
50+
}
51+
]
5252
}
5353
}
5454
]
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,36 @@
11
[
22
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getInternalOperations",
6-
"params":[
3+
"request": {
4+
"jsonrpc": "2.0",
5+
"method": "ots_getInternalOperations",
6+
"params": [
77
"0x1238722fac9c19c94f6b87bb7cb9e0230d6047046ad3632173a7ffd9cbaff74c"
88
],
9-
"id":1
9+
"id": 1
1010
},
11-
"response":{
12-
"jsonrpc":"2.0",
13-
"id":1,
11+
"response": {
12+
"jsonrpc": "2.0",
13+
"id": 1,
1414
"result": [
15-
{
16-
"from": "0x00000000000001ad428e4906ae43d8f9852d0dd6",
17-
"to": "0x0000a26b00c1f0df003000390027140000faa719",
18-
"type": 0,
19-
"value": "0xe1199594f800"
20-
},
21-
{
22-
"from": "0x00000000000001ad428e4906ae43d8f9852d0dd6",
23-
"to": "0x691c04861f0156c0e3fe00a9ed3f117ffae43ba6",
24-
"type": 0,
25-
"value": "0x12bd5473e3c00"
26-
},
27-
{
28-
"from": "0x00000000000001ad428e4906ae43d8f9852d0dd6",
29-
"to": "0xbad58aeff28cbae6659aa213f153726a95ebf51a",
30-
"type": 0,
31-
"value": "0x211f1082738c00"
32-
}
33-
]
34-
15+
{
16+
"from": "0x00000000000001ad428e4906ae43d8f9852d0dd6",
17+
"to": "0x0000a26b00c1f0df003000390027140000faa719",
18+
"type": 0,
19+
"value": "0xe1199594f800"
20+
},
21+
{
22+
"from": "0x00000000000001ad428e4906ae43d8f9852d0dd6",
23+
"to": "0x691c04861f0156c0e3fe00a9ed3f117ffae43ba6",
24+
"type": 0,
25+
"value": "0x12bd5473e3c00"
26+
},
27+
{
28+
"from": "0x00000000000001ad428e4906ae43d8f9852d0dd6",
29+
"to": "0xbad58aeff28cbae6659aa213f153726a95ebf51a",
30+
"type": 0,
31+
"value": "0x211f1082738c00"
32+
}
33+
]
3534
}
3635
}
3736
]
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
[
22
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getInternalOperations",
6-
"params":[
3+
"request": {
4+
"jsonrpc": "2.0",
5+
"method": "ots_getInternalOperations",
6+
"params": [
77
"0x7e39092974678d474386b3e0084574e87846c75dbd1a81e0c2a15763e3595762"
88
],
9-
"id":1
9+
"id": 1
1010
},
11-
"response":{
12-
"jsonrpc":"2.0",
13-
"id":1,
14-
"result": [
15-
{
16-
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
17-
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
18-
"type": 0,
19-
"value": "0x8b5bf24db751b28"
20-
},
21-
{
22-
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
23-
"to": "0x49c44a25894f8ed7130506a4efd2a5c88d36c178",
24-
"type": 0,
25-
"value": "0x6f7cc1d7c5daf5"
26-
}
27-
]
28-
11+
"response": {
12+
"jsonrpc": "2.0",
13+
"id": 1,
14+
"result": [
15+
{
16+
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
17+
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
18+
"type": 0,
19+
"value": "0x8b5bf24db751b28"
20+
},
21+
{
22+
"from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
23+
"to": "0x49c44a25894f8ed7130506a4efd2a5c88d36c178",
24+
"type": 0,
25+
"value": "0x6f7cc1d7c5daf5"
26+
}
27+
]
2928
}
3029
}
3130
]
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
[
22
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getInternalOperations",
6-
"params":[
3+
"request": {
4+
"jsonrpc": "2.0",
5+
"method": "ots_getInternalOperations",
6+
"params": [
77
"0xbd5bdee301f3013fc151be3c3b93fcdb88069e31889fd1eed87fa6009888f917"
88
],
9-
"id":1
9+
"id": 1
1010
},
11-
"response":{
12-
"jsonrpc":"2.0",
13-
"id":1,
14-
"result": [
15-
{
16-
"from": "0x283af0b28c62c092c9727f1ee09c02ca627eb7f5",
17-
"to": "0xb37b548519983b0eec623a11df42644a25068c09",
18-
"type": 0,
19-
"value": "0x7ecfbf42b56c2"
20-
}
21-
]
22-
11+
"response": {
12+
"jsonrpc": "2.0",
13+
"id": 1,
14+
"result": [
15+
{
16+
"from": "0x283af0b28c62c092c9727f1ee09c02ca627eb7f5",
17+
"to": "0xb37b548519983b0eec623a11df42644a25068c09",
18+
"type": 0,
19+
"value": "0x7ecfbf42b56c2"
20+
}
21+
]
2322
}
2423
}
2524
]
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[
22
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getInternalOperations",
6-
"params":[
3+
"request": {
4+
"jsonrpc": "2.0",
5+
"method": "ots_getInternalOperations",
6+
"params": [
77
"0xb79b64182236284ad6753e1b5f506e7e6989912c25887575f82d64f23f6bf267"
88
],
9-
"id":1
9+
"id": 1
1010
},
11-
"response":{
12-
"jsonrpc":"2.0",
13-
"id":1,
14-
"result": []
11+
"response": {
12+
"jsonrpc": "2.0",
13+
"id": 1,
14+
"result": []
1515
}
1616
}
1717
]
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[
22
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getInternalOperations",
6-
"params":[
3+
"request": {
4+
"jsonrpc": "2.0",
5+
"method": "ots_getInternalOperations",
6+
"params": [
77
"0x541a536cd7ce7e9990876b7a49041f21590cd92251e699d9d924c0abbb2e98ba"
88
],
9-
"id":1
9+
"id": 1
1010
},
11-
"response":{
12-
"id": 1,
13-
"jsonrpc": "2.0",
14-
"result": [
15-
{
16-
"from": "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad",
17-
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
18-
"type": 0,
19-
"value": "0x470de4df820000"
20-
}
21-
]
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": [
15+
{
16+
"from": "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad",
17+
"to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
18+
"type": 0,
19+
"value": "0x470de4df820000"
20+
}
21+
]
2222
}
2323
}
2424
]

0 commit comments

Comments
 (0)