@@ -515,7 +515,7 @@ async function alignTxFromEthers(
515
515
chainId,
516
516
to,
517
517
data : ( data ?? undefined ) as Hex | undefined ,
518
- nonce : nonce ? ethers . BigNumber . from ( gasPrice ) . toNumber ( ) : undefined ,
518
+ nonce : nonce ? ethers . BigNumber . from ( nonce ) . toNumber ( ) : undefined ,
519
519
value : value ? ethers . BigNumber . from ( value ) . toBigInt ( ) : undefined ,
520
520
gasPrice : gasPrice
521
521
? ethers . BigNumber . from ( gasPrice ) . toBigInt ( )
@@ -533,7 +533,7 @@ async function alignTxFromEthers(
533
533
chainId,
534
534
to,
535
535
data : ( data ?? undefined ) as Hex | undefined ,
536
- nonce : nonce ? ethers . BigNumber . from ( gasPrice ) . toNumber ( ) : undefined ,
536
+ nonce : nonce ? ethers . BigNumber . from ( nonce ) . toNumber ( ) : undefined ,
537
537
value : value ? ethers . BigNumber . from ( value ) . toBigInt ( ) : undefined ,
538
538
gas : gasLimit ? ethers . BigNumber . from ( gasLimit ) . toBigInt ( ) : undefined ,
539
539
maxFeePerGas : maxFeePerGas
@@ -550,7 +550,7 @@ async function alignTxFromEthers(
550
550
chainId,
551
551
to,
552
552
data : ( data ?? undefined ) as Hex | undefined ,
553
- nonce : nonce ? ethers . BigNumber . from ( gasPrice ) . toNumber ( ) : undefined ,
553
+ nonce : nonce ? ethers . BigNumber . from ( nonce ) . toNumber ( ) : undefined ,
554
554
value : value ? ethers . BigNumber . from ( value ) . toBigInt ( ) : undefined ,
555
555
gasPrice : gasPrice
556
556
? ethers . BigNumber . from ( gasPrice ) . toBigInt ( )
0 commit comments