@@ -10,7 +10,7 @@ describe('testnet methods', function () {
10
10
api = init ( process . env . API_KEY , 'ropsten' ) ;
11
11
} ) ;
12
12
13
- xit ( 'getminedblocks' , function ( done ) {
13
+ it ( 'getminedblocks' , function ( done ) {
14
14
var txlist = api . account . getminedblocks ( '0x3D6F8823Ad21CD299814B62D198d9001E67E20B3' ) ;
15
15
txlist
16
16
. then ( function ( res ) {
@@ -63,7 +63,7 @@ describe('testnet methods', function () {
63
63
} ) . catch ( done ) ;
64
64
} ) ;
65
65
66
- xit ( 'txlist' , function ( done ) {
66
+ it ( 'txlist' , function ( done ) {
67
67
/**
68
68
* No transaction found in testnet
69
69
* var txlist = api.account.txlist('0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae');
@@ -75,16 +75,18 @@ describe('testnet methods', function () {
75
75
} ) . catch ( done ) ;
76
76
} ) ;
77
77
78
- xit ( 'txlistinternal by hash' , function ( done ) {
78
+ it ( 'txlistinternal by hash' , function ( done ) {
79
79
var txlist = api . account . txlistinternal ( '0xf2aa030a0b889706206d262377cd45489faa2ff7dedbccda3693bf6c5370ed0c' ) ;
80
80
txlist . then ( function ( res ) {
81
81
assert . ok ( res ) ;
82
82
done ( ) ;
83
83
} ) . catch ( done ) ;
84
84
} ) ;
85
- xit ( 'txlistinternal by address' , function ( done ) {
86
85
87
- var txlist = api . account . txlistinternal ( null , '0x3FAcfa472e86E3EDaEaa837f6BA038ac01F7F539' ) ;
86
+ // address does not exist in ropsten
87
+ it . skip ( 'txlistinternal by address' , function ( done ) {
88
+
89
+ var txlist = api . account . txlistinternal ( null , '0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3' , 0 , 2702578 ) ;
88
90
txlist . then ( function ( res ) {
89
91
assert . ok ( res ) ;
90
92
done ( ) ;
@@ -171,7 +173,7 @@ describe('testnet methods', function () {
171
173
} ) . catch ( done ) ;
172
174
} ) ;
173
175
174
- xit ( 'contract.getabi' , function ( done ) {
176
+ it ( 'contract.getabi' , function ( done ) {
175
177
var api = init ( process . env . API_KEY , 'ropsten' ) ;
176
178
// Has no contract with this address
177
179
// var abi = api.contract.getabi('0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413');
@@ -210,7 +212,7 @@ describe('testnet methods', function () {
210
212
} ) ;
211
213
212
214
213
- it . skip ( 'proxy.eth_getUncleByBlockNumberAndIndex' , function ( done ) {
215
+ it ( 'proxy.eth_getUncleByBlockNumberAndIndex' , function ( done ) {
214
216
215
217
var res = api . proxy . eth_getUncleByBlockNumberAndIndex ( '0x210A9B' , '0x0' ) ;
216
218
res . then ( function ( res ) {
@@ -238,7 +240,7 @@ describe('testnet methods', function () {
238
240
} ) ;
239
241
240
242
241
- it . skip ( 'proxy.eth_getTransactionByBlockNumberAndIndex' , function ( done ) {
243
+ it ( 'proxy.eth_getTransactionByBlockNumberAndIndex' , function ( done ) {
242
244
243
245
var res = api . proxy . eth_getTransactionByBlockNumberAndIndex ( '0x10d4f' , '0x0' ) ;
244
246
res . then ( function ( res ) {
@@ -255,8 +257,9 @@ describe('testnet methods', function () {
255
257
done ( ) ;
256
258
} ) ;
257
259
} ) ;
258
-
259
- xit ( 'proxy.eth_sendRawTransaction' , function ( done ) {
260
+
261
+ // I can not test this. Example required
262
+ it . skip ( 'proxy.eth_sendRawTransaction' , function ( done ) {
260
263
261
264
var res = api . proxy . eth_sendRawTransaction ( '0xf904808000831cfde080' ) ;
262
265
res . then ( function ( res ) {
0 commit comments