Shawn Lu 1 год назад
Родитель
Сommit
b67ebaa250
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/bridge/StargateClient.ts

+ 2 - 2
src/bridge/StargateClient.ts

@@ -98,7 +98,7 @@ export class StargateClient {
         value: amount + lzGasCost,
       },
     )
-    const gasCost = ((this.chainId === 110 ? gasPrice : ethers.parseUnits('0.6', 'gwei')) * gasLimit * 110n) / 100n
-    return { gasCost, gasPrice, gasLimit }
+    // const gasCost = ((this.chainId === 110 ? gasPrice : ethers.parseUnits('0.6', 'gwei')) * gasLimit * 110n) / 100n
+    return { gasCost: ethers.parseEther('0.0004'), gasPrice, gasLimit }
   }
 }