Missing Revert Data
Description
This error occurs when a contract attempts to access data that is missing or undefined in the destination contract. Typically, this happens when the destination contract is either not deployed on the target chain or does not implement the expected entry function.
In the LiquidsFi Explorer, the error may appear as follows:
missing revert data (action="estimateGas", data=null, reason=null, transaction={ "data": "0x242db9bed288945268904d306de9b0ac1cfd6b87a9b6e99b9042cd5ad1e3f90f213561590000000000000000000000000000000000000000000000000000000000b71b0000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f96d311c06388ba685b7419537c67b85cdf38a77000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000038474455444e4a5158474c5753564758354a5a4f473335464637504e554c474b3549544b50544e375a424d354444415a544a56573541424f5a0000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000016b247ddd0b1b56a667af7715feabf61bc18ec70000000000000000000000000c238e73276bdc1a0cc5557c427f8d2dde98838650000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000004108f2b50c0d7e3cf270efc86cbc7ff1c13fb5dead55b4e804334a7a9c48f1bc2209dab2fac5a500e4fcb9fb3f9b81a07e3ec510a138455addfbd0007537aec4691c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411f358bfbec3caec688c35131db53ffebd6fae94e6fad7dd0b84f15517f70420e53f418db5d9c5a2e7e3b720ccdd0b639cf019314f4a1d733a406461a4e43a6d71c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000002160ec00000000000000000000000004f0b566329d8031e54ed963f092a320009295dfb0000000000000000000000004f0b566329d8031e54ed963f092a320009295dfb", "from": "0x16B247ddd0B1B56A667aF7715FEABf61Bc18ec70", "to": "0x92af84d5DfEFDD1114e54F91a1CF10D1877648B8" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.15.0)
Example
In this particular transaction:
msg_id:
0xd288945268904d306de9b0ac1cfd6b87a9b6e99b9042cd5ad1e3f90f21356159Origin Chain:
12000000(Soroban)Destination Chain:
45000000(Avalanche Fuji)Destination Contract:
0xF96d311C06388bA685B7419537C67b85CDF38A77
This error occurs because the destination contract either:
Is not deployed on the Avalanche Fuji chain, or
Does not implement the LiquidsFi Oracle entry function expected by the Oracle contract.
How to Fix
Verify Contract Deployment: Ensure the destination contract is deployed on the correct destination chain.
Implement the Oracle Entry Function: Confirm that the contract includes the required
onOracleDatafunction:
Notes
The onOracleData function serves as the entry point for LiquidsFi oracle data. Missing or incorrectly implemented functions will cause transactions to fail with the “missing revert data” error.
Last updated