Error Messages

When operating across different chains, two categories of errors may arise:

  • Source Chain Revert : The error occurs within local contracts prior to reaching the GMP Gateway. In such instances, the error signature is returned as a data argument alongside a generic "estimateGas" error.

Error: execution reverted (unknown custom error) (action="estimateGas", data="...."
  • Destination Chain: The error arises within the contracts on the remote chain when called by the GMP gateway after the source transaction is completed successfully. Consequently, the client contract on the source chain remains unaware of it. To identify the issue on the destination chain, one can retrieve the error signature by inspecting the transaction on the designated GMP explorer and searching for the provided error signature.

In both cases the error signature of the cause can be found in the following table:

Last updated