alchemix-finance / alchemix-v2-frontend

Repository for v2 UI
https://alchemix.fi
ISC License
12 stars 22 forks source link

Error on USDT Withdrawal - UNPREDICTABLE_GAS_LIMIT and Transaction Reverted #609

Open mjr01 opened 1 month ago

mjr01 commented 1 month ago

Contact Details

No response

What happened?

I encountered an issue while attempting to withdraw USDT from the vaults on the Alchemix platform. The gas estimation fails, and the transaction reverts with the UNPREDICTABLE_GAS_LIMIT error. Below are the details of the issue:

Steps to reproduce

  1. Navigate to the Alchemix Vaults page
  2. Attempt to withdraw USDT
  3. The transaction fails with the following error message: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted", method="estimateGas", transaction={ ... }, error={ ... }, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) error details:
Error: cannot estimate gas; transaction may fail or may require manual gas limit
[ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ]
(reason="execution reverted", method="estimateGas", transaction={
  "from":"0xA8ce3A37c0994e9Cf674E7C0fe7984f711Ab9128",
  "to":"0x10294d57A419C8eb78C648372c5bAA27fD1484af",
  "data":"0xac9650d800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000084a6459a320000000000000000000000006ab707aca953edaefbc4fd23ba732942414906200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8ce3a37c0994e9cf674e7c0fe7984f711ab9128000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006469328dec0000000000000000000000006ab707aca953edaefbc4fd23ba732942414906200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8ce3a37c0994e9cf674e7c0fe7984f711ab912800000000000000000000000000000000000000000000000000000000",
  "accessList":null
}, error={
  "code":-32603,
  "message":"Internal JSON-RPC error.",
  "data":{
    "code":3,
    "message":"execution reverted",
    "data":"0x1c3125d4000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000084a6459a320000000000000000000000006ab707aca953edaefbc4fd23ba732942414906200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a8ce3a37c0994e9cf674e7c0fe7984f711ab91280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024bf16aab60000000000000000000000006ab707aca953edaefbc4fd23ba7329424149062000000000000000000000000000000000000000000000000000000000",
    "cause":null
  }
}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)

Expected behavior

No response

What browser were you using?

Other

If you selected "Other" above, fill in the browser you used here.

Microsoft Edge