@@ -209,16 +209,16 @@ public async Task SignTypedDataV4_Typed_NullData()
209209 public async Task SignTransaction_Success ( )
210210 {
211211 var account = await this . GetAccount ( ) ;
212- var transaction = new ThirdwebTransactionInput ( 421614 )
213- {
214- From = await account . GetAddress ( ) ,
215- To = Constants . ADDRESS_ZERO ,
216- // Value = new HexBigInteger(0) ,
217- Gas = new HexBigInteger ( 21000 ) ,
218- // Data = "0x",
219- Nonce = new HexBigInteger ( 99999999999 ) ,
220- GasPrice = new HexBigInteger ( 10000000000 ) ,
221- } ;
212+ var transaction = new ThirdwebTransactionInput (
213+ chainId : 421614 ,
214+ from : await account . GetAddress ( ) ,
215+ to : Constants . ADDRESS_ZERO ,
216+ value : 0 ,
217+ gas : 21000 ,
218+ data : "0x" ,
219+ nonce : 99999999999 ,
220+ gasPrice : 10000000000
221+ ) ;
222222 var signature = await account . SignTransaction ( transaction ) ;
223223 Assert . NotNull ( signature ) ;
224224 }
@@ -227,15 +227,7 @@ public async Task SignTransaction_Success()
227227 public async Task SignTransaction_NoFrom_Success ( )
228228 {
229229 var account = await this . GetAccount ( ) ;
230- var transaction = new ThirdwebTransactionInput ( 421614 )
231- {
232- To = Constants . ADDRESS_ZERO ,
233- // Value = new HexBigInteger(0),
234- Gas = new HexBigInteger ( 21000 ) ,
235- Data = "0x" ,
236- Nonce = new HexBigInteger ( 99999999999 ) ,
237- GasPrice = new HexBigInteger ( 10000000000 ) ,
238- } ;
230+ var transaction = new ThirdwebTransactionInput ( chainId : 421614 , to : Constants . ADDRESS_ZERO , value : 0 , gas : 21000 , data : "0x" , nonce : 99999999999 , gasPrice : 10000000000 ) ;
239231 var signature = await account . SignTransaction ( transaction ) ;
240232 Assert . NotNull ( signature ) ;
241233 }
0 commit comments