@@ -132,20 +132,20 @@ void txBuilder() {
132
132
.withBlockNumber (1L )
133
133
.withConfirmations (1L )
134
134
.withContractAddress ("1" )
135
- .withCumulativeGasUsed (BigInteger .ONE )
136
135
.withFrom ("1" )
137
136
.withTo ("1" )
138
- .withGas (BigInteger .ONE )
139
- .withGasPrice (BigInteger .ONE )
140
- .withGasUsed (BigInteger .ONE )
137
+ .withCumulativeGasUsed (Wei .ofWei (BigInteger .ONE ))
138
+ .withGas (Wei .ofWei (BigInteger .ONE ))
139
+ .withGasPrice (Wei .ofWei (BigInteger .ONE ))
140
+ .withGasUsed (Wei .ofWei (BigInteger .ONE ))
141
141
.withHash ("1" )
142
142
.withInput ("1" )
143
143
.withIsError ("1" )
144
144
.withNonce (1L )
145
145
.withTimeStamp (timestamp )
146
146
.withValue (BigInteger .ONE )
147
147
.withTransactionIndex (1 )
148
- .withTxreceiptStatus ("1" )
148
+ .withTxReceiptStatus ("1" )
149
149
.build ();
150
150
151
151
assertNotNull (value );
@@ -162,12 +162,12 @@ void txErc20Builder() {
162
162
.withBlockNumber (1L )
163
163
.withConfirmations (1L )
164
164
.withContractAddress ("1" )
165
- .withCumulativeGasUsed (BigInteger .ONE )
166
165
.withFrom ("1" )
167
166
.withTo ("1" )
168
- .withGas (BigInteger .ONE )
169
- .withGasPrice (BigInteger .ONE )
170
- .withGasUsed (BigInteger .ONE )
167
+ .withCumulativeGasUsed (Wei .ofWei (BigInteger .ONE ))
168
+ .withGas (Wei .ofWei (BigInteger .ONE ))
169
+ .withGasPrice (Wei .ofWei (BigInteger .ONE ))
170
+ .withGasUsed (Wei .ofWei (BigInteger .ONE ))
171
171
.withHash ("1" )
172
172
.withInput ("1" )
173
173
.withTokenName ("1" )
@@ -192,12 +192,12 @@ void txErc721Builder() {
192
192
.withBlockNumber (1L )
193
193
.withConfirmations (1L )
194
194
.withContractAddress ("1" )
195
- .withCumulativeGasUsed (BigInteger .ONE )
196
195
.withFrom ("1" )
197
196
.withTo ("1" )
198
- .withGas (BigInteger .ONE )
199
- .withGasPrice (BigInteger .ONE )
200
- .withGasUsed (BigInteger .ONE )
197
+ .withCumulativeGasUsed (Wei .ofWei (BigInteger .ONE ))
198
+ .withGas (Wei .ofWei (BigInteger .ONE ))
199
+ .withGasPrice (Wei .ofWei (BigInteger .ONE ))
200
+ .withGasUsed (Wei .ofWei (BigInteger .ONE ))
201
201
.withHash ("1" )
202
202
.withInput ("1" )
203
203
.withTokenName ("1" )
@@ -222,12 +222,12 @@ void txErc1155Builder() {
222
222
.withBlockNumber (1L )
223
223
.withConfirmations (1L )
224
224
.withContractAddress ("1" )
225
- .withCumulativeGasUsed (BigInteger .ONE )
226
225
.withFrom ("1" )
227
226
.withTo ("1" )
228
- .withGas (BigInteger .ONE )
229
- .withGasPrice (BigInteger .ONE )
230
- .withGasUsed (BigInteger .ONE )
227
+ .withCumulativeGasUsed (Wei .ofWei (BigInteger .ONE ))
228
+ .withGas (Wei .ofWei (BigInteger .ONE ))
229
+ .withGasPrice (Wei .ofWei (BigInteger .ONE ))
230
+ .withGasUsed (Wei .ofWei (BigInteger .ONE ))
231
231
.withHash ("1" )
232
232
.withInput ("1" )
233
233
.withTokenName ("1" )
@@ -253,8 +253,8 @@ void txInternalBuilder() {
253
253
.withFrom ("1" )
254
254
.withTo ("1" )
255
255
.withValue (BigInteger .ONE )
256
- .withGas (BigInteger .ONE )
257
- .withGasUsed (BigInteger .ONE )
256
+ .withGas (Wei . ofWei ( BigInteger .ONE ) )
257
+ .withGasUsed (Wei . ofWei ( BigInteger .ONE ) )
258
258
.withHash ("1" )
259
259
.withInput ("1" )
260
260
.withTimeStamp (timestamp )
0 commit comments