-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
1,128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 110 additions & 0 deletions
110
test/gold/tools/ethslurp/api_tests/ethslurp_apps_es.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
slurp?addrs=0x9519afbc60719a83c470ceec41e32d3e4b8b262e&blocks=0-1500000&appearances&source=etherscan&fmt=json | ||
{ | ||
"data": [ | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1383378, | ||
"transactionIndex": 7 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1385649, | ||
"transactionIndex": 1 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1386522, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1386735, | ||
"transactionIndex": 2 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1395423, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1410065, | ||
"transactionIndex": 2 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1410101, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1421461, | ||
"transactionIndex": 1 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1429678, | ||
"transactionIndex": 1 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1430958, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1431182, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1433348, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1434017, | ||
"transactionIndex": 1 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1434025, | ||
"transactionIndex": 6 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1440785, | ||
"transactionIndex": 2 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1470405, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1488784, | ||
"transactionIndex": 0 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1491735, | ||
"transactionIndex": 6 | ||
}, | ||
{ | ||
"address": "0x9519afbc60719a83c470ceec41e32d3e4b8b262e", | ||
"blockNumber": 1491745, | ||
"transactionIndex": 5 | ||
} | ||
], | ||
"meta": { | ||
"client": "0xdeadbeef", | ||
"finalized": "0xdeadbeef", | ||
"staging": "0xdeadbeef", | ||
"ripe": "0xdeadbeef", | ||
"unripe": "0xdeadbeef", | ||
"chainId": 1, | ||
"networkId": 1, | ||
"chain": "mainnet" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
slurp?addrs=0x9519afbc60719a83c470ceec41e32d3e4b8b262e&blocks=0-1500000&appearances&source=key&fmt=json | ||
{ | ||
"errors": [ | ||
"The --source=key option is only available with a valid api key." | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
test/gold/tools/ethslurp/api_tests/ethslurp_apps_key_type.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
slurp?addrs=0x9519afbc60719a83c470ceec41e32d3e4b8b262e&blocks=0-1500000&types=ext&appearances&source=key&fmt=json | ||
{ | ||
"errors": [ | ||
"The --source=key option is only available with a valid api key." | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
slurp?addrs=0x9519afbc60719a83c470ceec41e32d3e4b8b262e&blocks=0-1500000&source=bad&fmt=json | ||
{ | ||
"errors": [ | ||
"The --source option (bad) must be one of [ etherscan | key ]" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
slurp?addrs=0x9519afbc60719a83c470ceec41e32d3e4b8b262e&blocks=0-1500000&appearances&source=key&count&fmt=json | ||
{ | ||
"errors": [ | ||
"The --source=key option is only available with a valid api key." | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
test/gold/tools/ethslurp/api_tests/ethslurp_count_not_key.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
slurp?addrs=0x9519afbc60719a83c470ceec41e32d3e4b8b262e&blocks=0-1500000&appearances&source=etherscan&count&fmt=json | ||
{ | ||
"errors": [ | ||
"The --count option is only available with --source=key." | ||
] | ||
} |
Oops, something went wrong.