LayerZero-Labs / LayerZero-v1

An Omnichain Interoperability Protocol
Other
1.96k stars 1.25k forks source link

Transaction fails #17

Closed zolotokrylin closed 2 years ago

irondsd commented 2 years ago

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.

zolotokrylin commented 2 years ago

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

poegva commented 2 years ago

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

irondsd commented 2 years ago

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