Skip to content

Commit 6989708

Browse files
authored
integration: ots_getContractCreator new tests + enable for e3 (#299)
1 parent 7d7d217 commit 6989708

18 files changed

+357
-121
lines changed

integration/mainnet/ots_getContractCreator/test_01.json

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0xdAC17F958D2ee523a2206206994597C13D831ec7"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result": {
13-
"creator": "0x36928500bc1dcd7af6a2b4008875cc336b927d57",
14-
"hash": "0x2f1c5c2b44f771e942a8506148e256f94f1a464babc938ae0690c6e34cd79190"
15-
}
16-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0xdAC17F958D2ee523a2206206994597C13D831ec7"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": {
15+
"creator": "0x36928500bc1dcd7af6a2b4008875cc336b927d57",
16+
"hash": "0x2f1c5c2b44f771e942a8506148e256f94f1a464babc938ae0690c6e34cd79190"
17+
}
18+
},
19+
"test": {
20+
"description": "",
21+
"reference": ""
1722
}
23+
}
1824
]
19-

integration/mainnet/ots_getContractCreator/test_02.json

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result":{
13-
"creator": "0x8b41783ad99fcbeb8d575fa7a7b5a04fa0b8d80b",
14-
"hash": "0xdaaa0b08e0fa932ebf1ebc9ed2de9a6eb4db3f03c77e9ed937d9c9a3a49e2b81"
15-
}
16-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": {
15+
"creator": "0x8b41783ad99fcbeb8d575fa7a7b5a04fa0b8d80b",
16+
"hash": "0xdaaa0b08e0fa932ebf1ebc9ed2de9a6eb4db3f03c77e9ed937d9c9a3a49e2b81"
17+
}
18+
},
19+
"test": {
20+
"description": "",
21+
"reference": ""
1722
}
23+
}
1824
]
19-

integration/mainnet/ots_getContractCreator/test_03.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0xffffFAC5E5542a773Aa44fBCfeDf7C193bc2C599"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result": null
13-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0xffffFAC5E5542a773Aa44fBCfeDf7C193bc2C599"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": null
15+
},
16+
"test": {
17+
"description": "",
18+
"reference": ""
1419
}
20+
}
1521
]
16-

integration/mainnet/ots_getContractCreator/test_04.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0x650c1E71fD009DBD8344BB63a8727b538397B5D3"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result": null
13-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0x650c1E71fD009DBD8344BB63a8727b538397B5D3"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": null
15+
},
16+
"test": {
17+
"description": "",
18+
"reference": ""
1419
}
20+
}
1521
]
16-

integration/mainnet/ots_getContractCreator/test_05.json

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result":{
13-
"creator": "0xd8fa8f87129c654a6dd7f34eedaf58379e176eb1",
14-
"hash": "0x045ea812f7e8b5faa6f1146dbfc66beb37677f2c4e40f2f7659f70bb914035db"
15-
}
16-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": {
15+
"creator": "0xd8fa8f87129c654a6dd7f34eedaf58379e176eb1",
16+
"hash": "0x045ea812f7e8b5faa6f1146dbfc66beb37677f2c4e40f2f7659f70bb914035db"
17+
}
18+
},
19+
"test": {
20+
"description": "",
21+
"reference": ""
1722
}
23+
}
1824
]
19-

integration/mainnet/ots_getContractCreator/test_06.json

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0xFD14567eaf9ba941cB8c8a94eEC14831ca7fD1b4"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result":{
13-
"creator": "0x5751a83170bea11fe7cda5d599b04153c021f21a",
14-
"hash": "0xd3d71400665995ca9c59bcebe68d2d43fd5c2199b1379a534ac72678a20dc613"
15-
}
16-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0xFD14567eaf9ba941cB8c8a94eEC14831ca7fD1b4"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": {
15+
"creator": "0x5751a83170bea11fe7cda5d599b04153c021f21a",
16+
"hash": "0xd3d71400665995ca9c59bcebe68d2d43fd5c2199b1379a534ac72678a20dc613"
17+
}
18+
},
19+
"test": {
20+
"description": "",
21+
"reference": ""
1722
}
23+
}
1824
]
19-

integration/mainnet/ots_getContractCreator/test_07.json

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0x3CACa7b48D0573D793d3b0279b5F0029180E83b6"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result":{
13-
"creator": "0xaabb54394e8dd61dd70897e9c80be8de7c64a895",
14-
"hash": "0x056c109b300f520bb03623d4d12667e1e5308c056d45764860e642186b056d99"
15-
}
16-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0x3CACa7b48D0573D793d3b0279b5F0029180E83b6"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": {
15+
"creator": "0xaabb54394e8dd61dd70897e9c80be8de7c64a895",
16+
"hash": "0x056c109b300f520bb03623d4d12667e1e5308c056d45764860e642186b056d99"
17+
}
18+
},
19+
"test": {
20+
"description": "",
21+
"reference": ""
1722
}
23+
}
1824
]
19-

integration/mainnet/ots_getContractCreator/test_08.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
[
2-
{
3-
"request":{
4-
"jsonrpc":"2.0",
5-
"method":"ots_getContractCreator",
6-
"params":["0xFFFFFFb48D0573D793d3b0279b5F0029180E83b6"],
7-
"id":1
8-
},
9-
"response":{
10-
"id":1,
11-
"jsonrpc":"2.0",
12-
"result": null
13-
}
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0xFFFFFFb48D0573D793d3b0279b5F0029180E83b6"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": null
15+
},
16+
"test": {
17+
"description": "",
18+
"reference": ""
1419
}
20+
}
1521
]
16-
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0xEA674fdDe714fd979de3EdF0F56AA9716B898ec8"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": null
15+
},
16+
"test": {
17+
"description": "",
18+
"reference": ""
19+
}
20+
}
21+
]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "ots_getContractCreator",
7+
"params": [
8+
"0x0000000000000000000000000000000000000000"
9+
]
10+
},
11+
"response": {
12+
"id": 1,
13+
"jsonrpc": "2.0",
14+
"result": null
15+
},
16+
"test": {
17+
"description": "",
18+
"reference": ""
19+
}
20+
}
21+
]

0 commit comments

Comments
 (0)