@@ -28,21 +28,21 @@ describe("Eth module", function () {
28
28
setCWD ( ) ;
29
29
useProvider ( ) ;
30
30
31
- describe ( "eth_accounts" , async function ( ) {
31
+ describe ( "eth_accounts" , function ( ) {
32
32
it ( "should return the genesis accounts in lower case" , async function ( ) {
33
33
const accounts = await this . provider . send ( "eth_accounts" ) ;
34
34
35
35
assert . deepEqual ( accounts , DEFAULT_ACCOUNTS_ADDRESSES ) ;
36
36
} ) ;
37
37
} ) ;
38
38
39
- describe ( "eth_chainId" , async function ( ) {
39
+ describe ( "eth_chainId" , function ( ) {
40
40
it ( "should return the chain id as QUANTITY" , async function ( ) {
41
41
assertQuantity ( await this . provider . send ( "eth_chainId" ) , chainId ) ;
42
42
} ) ;
43
43
} ) ;
44
44
45
- describe ( "eth_coinbase" , async function ( ) {
45
+ describe ( "eth_coinbase" , function ( ) {
46
46
it ( "should return the default coinbase address" , async function ( ) {
47
47
assert . equal (
48
48
await this . provider . send ( "eth_coinbase" ) ,
@@ -51,37 +51,37 @@ describe("Eth module", function () {
51
51
} ) ;
52
52
} ) ;
53
53
54
- describe ( "eth_compileLLL" , async function ( ) {
54
+ describe ( "eth_compileLLL" , function ( ) {
55
55
it ( "is not supported" , async function ( ) {
56
56
await assertNotSupported ( this . provider , "eth_compileLLL" ) ;
57
57
} ) ;
58
58
} ) ;
59
59
60
- describe ( "eth_compileSerpent" , async function ( ) {
60
+ describe ( "eth_compileSerpent" , function ( ) {
61
61
it ( "is not supported" , async function ( ) {
62
62
await assertNotSupported ( this . provider , "eth_compileSerpent" ) ;
63
63
} ) ;
64
64
} ) ;
65
65
66
- describe ( "eth_compileSolidity" , async function ( ) {
66
+ describe ( "eth_compileSolidity" , function ( ) {
67
67
it ( "is not supported" , async function ( ) {
68
68
await assertNotSupported ( this . provider , "eth_compileSolidity" ) ;
69
69
} ) ;
70
70
} ) ;
71
71
72
- describe ( "eth_getCompilers" , async function ( ) {
72
+ describe ( "eth_getCompilers" , function ( ) {
73
73
it ( "is not supported" , async function ( ) {
74
74
await assertNotSupported ( this . provider , "eth_getCompilers" ) ;
75
75
} ) ;
76
76
} ) ;
77
77
78
- describe ( "eth_getProof" , async function ( ) {
78
+ describe ( "eth_getProof" , function ( ) {
79
79
it ( "is not supported" , async function ( ) {
80
80
await assertNotSupported ( this . provider , "eth_getProof" ) ;
81
81
} ) ;
82
82
} ) ;
83
83
84
- describe ( "eth_getUncleByBlockHashAndIndex" , async function ( ) {
84
+ describe ( "eth_getUncleByBlockHashAndIndex" , function ( ) {
85
85
it ( "is not supported" , async function ( ) {
86
86
await assertNotSupported (
87
87
this . provider ,
@@ -90,7 +90,7 @@ describe("Eth module", function () {
90
90
} ) ;
91
91
} ) ;
92
92
93
- describe ( "eth_getUncleByBlockNumberAndIndex" , async function ( ) {
93
+ describe ( "eth_getUncleByBlockNumberAndIndex" , function ( ) {
94
94
it ( "is not supported" , async function ( ) {
95
95
await assertNotSupported (
96
96
this . provider ,
@@ -99,7 +99,7 @@ describe("Eth module", function () {
99
99
} ) ;
100
100
} ) ;
101
101
102
- describe ( "eth_getUncleCountByBlockHash" , async function ( ) {
102
+ describe ( "eth_getUncleCountByBlockHash" , function ( ) {
103
103
it ( "is not supported" , async function ( ) {
104
104
await assertNotSupported (
105
105
this . provider ,
@@ -108,7 +108,7 @@ describe("Eth module", function () {
108
108
} ) ;
109
109
} ) ;
110
110
111
- describe ( "eth_getUncleCountByBlockNumber" , async function ( ) {
111
+ describe ( "eth_getUncleCountByBlockNumber" , function ( ) {
112
112
it ( "is not supported" , async function ( ) {
113
113
await assertNotSupported (
114
114
this . provider ,
@@ -117,36 +117,36 @@ describe("Eth module", function () {
117
117
} ) ;
118
118
} ) ;
119
119
120
- describe ( "eth_getWork" , async function ( ) {
120
+ describe ( "eth_getWork" , function ( ) {
121
121
it ( "is not supported" , async function ( ) {
122
122
await assertNotSupported ( this . provider , "eth_getWork" ) ;
123
123
} ) ;
124
124
} ) ;
125
125
126
- describe ( "eth_hashrate" , async function ( ) {
126
+ describe ( "eth_hashrate" , function ( ) {
127
127
it ( "is not supported" , async function ( ) {
128
128
await assertNotSupported ( this . provider , "eth_hashrate" ) ;
129
129
} ) ;
130
130
} ) ;
131
131
132
- describe ( "eth_mining" , async function ( ) {
132
+ describe ( "eth_mining" , function ( ) {
133
133
it ( "should return false" , async function ( ) {
134
134
assert . deepEqual ( await this . provider . send ( "eth_mining" ) , false ) ;
135
135
} ) ;
136
136
} ) ;
137
137
138
- describe ( "eth_protocolVersion" , async function ( ) {
138
+ describe ( "eth_protocolVersion" , function ( ) {
139
139
it ( "is not supported" , async function ( ) {
140
140
await assertNotSupported ( this . provider , "eth_protocolVersion" ) ;
141
141
} ) ;
142
142
} ) ;
143
143
144
- describe ( "eth_sign" , async function ( ) {
144
+ describe ( "eth_sign" , function ( ) {
145
145
// TODO: Test this. Note that it's implementation is tested in one of
146
146
// our provider wrappers, but re-test it here anyway.
147
147
} ) ;
148
148
149
- describe ( "eth_signTransaction" , async function ( ) {
149
+ describe ( "eth_signTransaction" , function ( ) {
150
150
it ( "is not supported" , async function ( ) {
151
151
await assertNotSupported ( this . provider , "eth_signTransaction" ) ;
152
152
} ) ;
@@ -164,19 +164,19 @@ describe("Eth module", function () {
164
164
} ) ;
165
165
} ) ;
166
166
167
- describe ( "eth_submitHashrate" , async function ( ) {
167
+ describe ( "eth_submitHashrate" , function ( ) {
168
168
it ( "is not supported" , async function ( ) {
169
169
await assertNotSupported ( this . provider , "eth_submitHashrate" ) ;
170
170
} ) ;
171
171
} ) ;
172
172
173
- describe ( "eth_submitWork" , async function ( ) {
173
+ describe ( "eth_submitWork" , function ( ) {
174
174
it ( "is not supported" , async function ( ) {
175
175
await assertNotSupported ( this . provider , "eth_submitWork" ) ;
176
176
} ) ;
177
177
} ) ;
178
178
179
- describe ( "eth_syncing" , async function ( ) {
179
+ describe ( "eth_syncing" , function ( ) {
180
180
it ( "Should return false" , async function ( ) {
181
181
assert . deepEqual ( await this . provider . send ( "eth_syncing" ) , false ) ;
182
182
} ) ;
0 commit comments