LayerZero-Labs/LayerZero

Transaction fails

zolotokrylin opened this issue · 4 comments

Transaction fails

estimateSendFee function fails.
Parameters:

const { nativeFee } = await bridgeContract.estimateSendFee(
  dstChainId, // 1 
  toAddress,
  parsedAmount,
  useZro, // false
  adapterParams // '0x'
)

results in error Error: missing revert data in call exception; Transaction reverted without a reason string

Previously it was working fine.

P.S. We have updated the chain IDs, but now we have this error #17 (comment)
Internal issue https://github.com/clearpool-finance/website/issues/640

I suppose I understood that the issue can be - new chain IDs should be used in estimate as well

It was fixed and working now. This issue can be closed