Jayant Krishnamurthy 2 yıl önce
ebeveyn
işleme
4786447564
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      cosmwasm/tools/deploy-pyth-bridge.js

+ 4 - 2
cosmwasm/tools/deploy-pyth-bridge.js

@@ -126,11 +126,13 @@ if (argv.codeId !== undefined) {
     contract_bytes.toString("base64")
   );
 
-  const feeEstimate = await lcd.tx.estimateFee([], {
+  /*
+  const feeEstimate = await lcd.tx.estimateFee([wallet.key.accAddress], {
     msgs: [store_code],
     feeDenoms,
     //    gasPrices,
   });
+   */
 
   console.log("Deploy fee: ", feeEstimate.amount.toString());
 
@@ -138,7 +140,7 @@ if (argv.codeId !== undefined) {
     msgs: [store_code],
     feeDenoms,
     //    gasPrices,
-    fee: feeEstimate,
+    // fee: feeEstimate,
   });
 
   const rs = await lcd.tx.broadcast(tx);