Skip to content
This repository was archived by the owner on Dec 26, 2024. It is now read-only.

Commit 8ff5185

Browse files
committed
testnet all test passes
1 parent 721d99b commit 8ff5185

5 files changed

+4
-28
lines changed

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ balance.then(function(balanceData){
1414
```
1515

1616
## For testnet usage
17-
(not test yet)
17+
all test passes
1818
```javascript
1919
var api = require('etherscan-api').init('YourApiKey','testnet');
2020

docs/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
2017-01-18
22
=========
33
* 2.2.1
4-
* testnetapi (not test yet)
4+
* testnetapi
55

66
2016-10-10
77
==========

test-do.md

+1-9
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,5 @@ Testnet:
88
var api = init('YourApiKeyToken','testnet');
99
testnet-balance-test.js - passes
1010
testnet-eth-test.js - passes
11-
testnet-methods-test.js - fail (cause internal transaction)
11+
testnet-methods-test.js - passes
1212
```
13-
14-
15-
16-
Testnet data:
17-
address = '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae' - this is test account with balance
18-
address with mined blocks - 0x3D6F8823Ad21CD299814B62D198d9001E67E20B3 - because there
19-
are no bloks mined by default address in testnet (return empty message, see reference in test).
20-
0xCe9bb652DD190454B91CEe1f7D5fE6Bac3Ca85Fc - TestBotAttack

test/testnet-internal-test.js

-16
This file was deleted.

test/testnet-methods-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('api', function() {
4444
});
4545
it('txlistinternal', function(done){
4646
var api = init('YourApiKeyToken','testnet');
47-
var txlist = api.account.txlistinternal('0x7e61933A749ee94e900D46Ca6f31810811e01524');
47+
var txlist = api.account.txlistinternal('0xf2aa030a0b889706206d262377cd45489faa2ff7dedbccda3693bf6c5370ed0c');
4848
txlist.then(function(res){
4949
assert.ok(res);
5050
done();

0 commit comments

Comments
 (0)