File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,6 @@ export class LayerZeroGatewayClient extends GatewayApiClient {
334334 finalFeeSats : baseQuote . finalFeeSats + Number ( maxTokensToSwapForLayerZeroFees ) ,
335335 } ;
336336 } else if ( fromChain !== 'bitcoin' && toChain === 'bitcoin' ) {
337- const fromChain = resolveChainName ( params . fromChain ) ;
338337 const dstEid = await this . l0Client . getEidForChain ( fromChain ) ;
339338
340339 if ( ! dstEid ) {
@@ -399,8 +398,8 @@ export class LayerZeroGatewayClient extends GatewayApiClient {
399398 feeBreakdown : {
400399 nativeFee : sendFees . nativeFee ,
401400 lzTokenFee : sendFees . lzTokenFee ,
401+ gasFee : gasFee ,
402402 } ,
403- gasFee : gasFee ,
404403 } ,
405404 } ;
406405 }
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ export type CrossChainSwapQuoteParams<T = {}> = BaseExecuteQuoteParams<T> & {
3636export type CrossChainFeeBreakdown = {
3737 nativeFee : bigint ;
3838 lzTokenFee : bigint ;
39+ gasFee : bigint ;
3940} ;
4041
4142export interface CrossChainSwapQuote {
4243 sourceEid : number ;
4344 destinationEid : number ;
4445 oftAddress : Address ;
4546 feeBreakdown : CrossChainFeeBreakdown ;
46- gasFee : bigint ;
4747}
You can’t perform that action at this time.
0 commit comments