Closed tsadovska closed 1 year ago
AVAX -> SUI w/o automatic relay
Don’t have allowances to spend the wrapped SOL?
6d6f756e74206578636565647320616c6c6f77616e6365000000000000000000000000000000000000000000000000", errorArgs=["ERC20: transfer amount exceeds allowance"], errorName="Error", errorSignature="Error(string)", reason="ERC20: transfer amount exceeds allowance", code=CALL_EXCEPTION, version=abi/5.7.0)
Ok, so the error about the allowance comes from it trying to test run the transaction to get a gas estimation. If this happens, it falls back on a default value. I'm not sure why the transaction reverted though
@tsadovska we could not reproduce this after trying a few times. Do you mind retrying on mainnet with the new build and closing if you can't repro? Thanks!
Rechecked the issue with the similar scenario on https://wormhole-connect.netlify.app/ [Testnet] and https://mainnet--wormhole-connect.netlify.app/ [Mainnet].
https://wormhole-connect.netlify.app/ - Tested NOK when sending 0.01 WETH from Fuji to Sui. Error is displayed in Console:
Error: call revert exception; VM Exception while processing transaction: reverted with reason string "ERC20: transfer amount exceeds allowance" [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="transferTokens(address,uint256,uint16,bytes32,uint256,uint32)", data="0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365000000000000000000000000000000000000000000000000", errorArgs=["ERC20: transfer amount exceeds allowance"], errorName="Error", errorSignature="Error(string)", reason="ERC20: transfer amount exceeds allowance", code=CALL_EXCEPTION, version=abi/5.7.0)
at f.makeError (index.ts:269:28)
at f.throwError (index.ts:281:20)
at w.decodeFunctionResult (interface.ts:427:23)
at Object.<anonymous> (index.ts:400:44)
at Generator.next (<anonymous>)
at a (hashes.ts:1:25)
https://mainnet--wormhole-connect.netlify.app/ [Mainnet] - Tested NOK when sending 0.001 WFTM from Avalanche to Moonbeam. Transaction fails with error "transaction may fail or may require manual gas limit" (ticket: #780)
Error "ERC20: transfer amount exceeds allowance" appears in Console when sending asset for the first time. Please view observations in ticket #798.
Ticket is closed.
Build:
https://sui-support--wormhole-connect.netlify.app/
Steps:
Actual results:
Expected results:
Transaction proceeds without errors.
Device:
MacBook Pro, macOS Monterey 12.6.5, Chrome Version 112.0.5615.137 (Official Build) (x86_64)
Attachments:
https://user-images.githubusercontent.com/10746654/235872538-9e94482a-2347-4edc-a935-aca1b6ffdcf8.mov