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:

Glacis Custom Error
Error Signature

DeliveryProviderCannotReceivePayment()

0x95d64fa0

GlacisAbstractAdapter__DestinationChainIdNotValid()

0x12f2ad92

GlacisAbstractAdapter__IDArraysMustBeSameLength()

0x4f3bb61c

GlacisAbstractAdapter__InvalidAdapterAddress()

0x44181faf

GlacisAbstractAdapter__InvalidChainId()

0x4428fe68

GlacisAbstractAdapter__NoAdapterConfiguredForChain()

0x3306d25e

GlacisAbstractAdapter__NoRemoteAdapterForChainId(uint256 chainId)

0xb295f036

GlacisAbstractAdapter__OnlyAdapterAllowed()

0x4c371e2d

GlacisAbstractAdapter__OnlyGlacisRouterAllowed()

0x8d0f010f

GlacisAbstractAdapter__SourceChainNotRegistered()

0xb798796f

GlacisAbstractRouter__GMPIDCannotBeZero()

0x4332f55b

GlacisAbstractRouter__InvalidAdapterAddress()

0xa46f71e2

GlacisAbstractRouter__OnlyAdaptersAllowed()

0x55ff424d

GlacisAccessControlClient__RouteAlreadyAdded()

0x9d0749e5

GlacisCCIPAdapter__PaymentTooSmallForAnyDestinationExecution()

0x9642d69e

GlacisCCIPAdapter__RefundAddressMustReceiveNativeCurrency()

0x4ae47585

GlacisClient__CanOnlyBeCalledByRouter()

0x7060f99c

GlacisClient__InvalidRouterAddress()

0x7b6c3d88

GlacisHyperlaneAdapter__FeeNotEnough()

0xf7baffe4

GlacisHyperlaneAdapter__OnlyMailboxAllowed()

0x56645bf6

GlacisHyperlaneAdapter__RefundAddressMustReceiveNativeCurrency()

0xead30a9a

GlacisHyperlaneAdapter__UnconfiguredOrigin()

0xaa4af996

GlacisLayerZeroAdapter__LZChainIdNotAccepted(uint256)

0xd764477d

GlacisRemoteCounterpartManager__MediatorsAndChainIDsMustHaveSameLength()

0x7f424dc4

GlacisRemoteCounterpartManager__RemoteCounterpartCannotHaveChainIdZero()

0x3e708a4c

GlacisRemoteCounterpartManager__RemoteCounterpartCannotHaveChainIdZero()

0x3e708a4c

GlacisRemoteCounterpartManager__RemoteCounterpartsAndChainIDsMustHaveSameLength()

0x5855bb7e

GlacisRouter__ClientDeniedRoute()

0x9cbf2224

GlacisRouter__FeeArrayMustEqualGMPArray()

0xbb767f66

GlacisRouter__FeeSumMustBeEqualToValue()

0x2e0b647c

GlacisRouter__GMPCountMustBeAtLeastOne()

0xdc62be97

GlacisRouter__GMPNotSupported()

0xed2e8008

GlacisRouter__ImpossibleGMPId(uint8 gmpId)

0x64d24020

GlacisRouter__MessageAlreadyReceivedFromGMP()

0x5bde8cde

GlacisRouter__MessageIdNotValid()

0x3245805f

GlacisRouter__MessageInputNotIdenticalForRetry()

0x1dd35f64

GlacisRouter__NotOwnerOfMessageToRetry()

0x7f2f6d96

GlacisRouter__OnlyAdaptersAllowed()

0xb519c5ed

GlacisRouter__RouteDoesNotExist()

0xeb470cd2

GlacisTokenClient__CanOnlyBeCalledByTokenRouter()

0x7e3d38a2

GlacisTokenMediator__DestinationChainUnavailable()

0x64b15c4d

GlacisTokenMediator__IncorrectTokenVariant(address, uint256)

0x8e291d85

GlacisTokenMediator__OnlyTokenMediatorAllowed()

0x73d0e434

GlacisWormholeAdapter__AlreadyProcessedVAA()

0xbfe7efae

GlacisWormholeAdapter__NotEnoughValueForCrossChainTransaction()

0x0c08e04a

GlacisWormholeAdapter__OnlyRelayerAllowed()

0x200b2d18

GlacisWormholeAdapter__RefundAddressMustReceiveNativeCurrency()

0xa93640ac

IGlacisAdapter__ChainIsNotAvailable(uint256 toChainId)

0xb0baf5b5

IXERC20Lockbox_Native()

0x46e927a0

IXERC20Lockbox_NotNative()

0x8467cb4b

IXERC20Lockbox_WithdrawFailed()

0xab8a5c34

IXERC20_NotFactory()

0x2029e525

IXERC20_NotHighEnoughLimits()

0x0b6842aa

InsufficientRelayerFunds(uint256 msgValue, uint256 minimum)

0x02216bc0

InvalidDeliveryVaa(string reason)

0xb72c3b7f

InvalidEmitter(bytes32 emitter, bytes32 registered, uint16 chainId)

0x776c06ce

InvalidMsgValue(uint256 msgValue, uint256 totalFee)

0x1f89f671

InvalidOverrideGasLimit()

0xafe343e8

InvalidOverrideReceiverValue()

0xe3704808

InvalidOverrideRefundPerGasUnused()

0x0cfb7d9e

InvalidPayloadId(uint8 parsed, uint8 expected)

0x79cbfdbe

InvalidPayloadLength(uint256 received, uint256 expected)

0xc37906a0

InvalidVaaKeyType(uint8 parsed)

0x249ede70

NotAnEvmAddress(bytes32)

0x33b960d0

ReentrantDelivery(address msgSender, address lockedBy)

0x20b84ced

RequestedGasLimitTooLow()

0x71ae1330

RequesterNotWormholeRelayer()

0x72132d5a

TargetChainIsNotThisChain(uint16 targetChain)

0xd8215fc9

VaaKeysDoNotMatchVaas(uint8 index)

0xeb5e161c

VaaKeysLengthDoesNotMatchVaasLength(uint256 keys, uint256 vaas)

0xb5ef0f68

XERC20__OnlyBridge()

0xe5cbd60e

Last updated