@glowlabs-org/utils 0.2.172 → 0.2.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var calculateFarmEfficiency = require('./calculate-farm-efficiency-CIHgzMwj.js');
3
+ var calculateFarmEfficiency = require('./calculate-farm-efficiency-CKxIgfpG.js');
4
4
  require('decimal.js');
5
5
  var viem = require('viem');
6
6
  require('ethers');
@@ -674,7 +674,7 @@ function useForwarder(signer, CHAIN_ID) {
674
674
  // Approve only the specific amount needed
675
675
  const approveTx = await tokenContract.approve(ADDRESSES.FORWARDER, amount);
676
676
  await waitForEthersTransactionWithRetry(signer, approveTx.hash, {
677
- timeoutMs: 30000,
677
+ timeoutMs: 60000,
678
678
  pollIntervalMs: 2000,
679
679
  });
680
680
  return true;
@@ -737,7 +737,7 @@ function useForwarder(signer, CHAIN_ID) {
737
737
  try {
738
738
  const approveTx = await tokenContract.approve(ADDRESSES.FORWARDER, ethers.MaxUint256);
739
739
  await waitForEthersTransactionWithRetry(signer, approveTx.hash, {
740
- timeoutMs: 30000,
740
+ timeoutMs: 60000,
741
741
  pollIntervalMs: 2000,
742
742
  });
743
743
  }
@@ -811,7 +811,7 @@ function useForwarder(signer, CHAIN_ID) {
811
811
  : ADDRESSES.FOUNDATION_WALLET, amount, sendToCounterfactualWallet, message);
812
812
  }
813
813
  await waitForEthersTransactionWithRetry(signer, tx.hash, {
814
- timeoutMs: 30000,
814
+ timeoutMs: 60000,
815
815
  pollIntervalMs: 2000,
816
816
  });
817
817
  return tx.hash;
@@ -1049,7 +1049,7 @@ function useForwarder(signer, CHAIN_ID) {
1049
1049
  // Try to call mint function (common for test tokens)
1050
1050
  const tx = await usdcContract.mint(recipient, amount);
1051
1051
  await waitForEthersTransactionWithRetry(signer, tx.hash, {
1052
- timeoutMs: 30000,
1052
+ timeoutMs: 60000,
1053
1053
  pollIntervalMs: 2000,
1054
1054
  });
1055
1055
  return tx.hash;
@@ -5331,4 +5331,4 @@ exports.useOffchainFractions = useOffchainFractions;
5331
5331
  exports.useRewardsKernel = useRewardsKernel;
5332
5332
  exports.waitForEthersTransactionWithRetry = waitForEthersTransactionWithRetry;
5333
5333
  exports.waitForViemTransactionWithRetry = waitForViemTransactionWithRetry;
5334
- //# sourceMappingURL=calculate-farm-efficiency-CIHgzMwj.js.map
5334
+ //# sourceMappingURL=calculate-farm-efficiency-CKxIgfpG.js.map