Hemera Doc
  • 👋Welcome
    • Introduction
    • Quick Start
    • Account Centric Indexing Protocol
      • What is Account-Centric Indexing?
      • Why "account-centric" indexing?
      • The advantages of Account-Centric Indexing
      • What's next for account-centric indexing?
      • Why create a new protocol here?
      • The Hemera Network
        • Network Roles
        • Indexers
        • Validators
        • Proprietary models & knowledge
        • Proprietary data and labels
        • Smart Contracts
        • Key roadmap items
        • Supported blockchains
      • Example Hemera use cases
        • SocialScan Explorers
        • Anti-sybil UML algorithm
        • Ethereum long term DA
        • EVM chain history preservation
        • Ecosystem AI Agents
        • User-defined AI Agents
  • 👩‍💻Developer Resources
    • Smart Contract Developers
    • EVM-compatible chains
      • Blockchain explorers
      • SocialScan explorer API doc
      • Ecosystem AI Agents
    • Dapp developers
    • User-defined Agent creators
    • AVS Operator
  • 🖥️Hemera Indexer
    • Introduction
    • Installation
      • Prerequisites
      • Install & Run
      • Export Result
    • Configurations
    • Benchmark
    • Data Class
      • Raw Data Tables
        • Blocks
        • Transactions
        • Logs
        • Traces
      • Generated Tables
        • Contract Internal Transactions
        • ERC20 Token Transfers
        • Tokens
        • ERC20 Token Holders
        • ERC721 Token Transfers
        • ERC721 Token Holders
        • ERC1155 Token Transfers
        • ERC1155 Token Holders
        • Address Coin Balances
        • Address Token Balances
        • Address Current Token Balances
        • Daily Wallet Address Stats
        • Contracts
      • Other Tables
        • Inscriptions
        • Bridges
          • L1 to L2 Transactions
          • L2 to L1 Transactions
          • Optimistic Rollup Data Availability Batches
          • Optimistic Rollup State Batches
    • Use Cases
      • UniSwap V3
        • Data Class
        • Trigger and Function
        • Run & Query
      • ENS
        • Data Class
        • Trigger and Function
        • Run & Query
      • OpenSea
        • Data Class
        • Trigger and Function
        • Run & Query
      • Deposit to L2
        • Data Class
        • Trigger and Function
        • Run & Query
      • User Profile
  • UDFs - User Defined Functions
    • Introduction
    • Components of UDFs
    • Building User Defined Functions(UDF)
    • Testing and Running UDF
    • Troubleshooting and Support
    • Supported UDFs
    • FAQs
  • 😄About us
    • The story behind building Hemera
    • Partners & Backers
    • Partnership inquiries
    • Hemera Powered Explorers
    • Active Developer Hackathons
    • Developer Contribution
  • Documentation feedback
Powered by GitBook
On this page
  • Common Issues and Fixes
  • Getting Help and Giving Feedback
  1. UDFs - User Defined Functions

Troubleshooting and Support

This section covers some common issues you might run into while working with UDFs, along with practical steps to troubleshoot and get things back on track.

Common Issues and Fixes

  1. Filter Configuration Issues

    • Problem: The UDF isn’t capturing the expected data.

    • Fix: Double-check your get_filter job setup. Make sure it includes the conditions needed to capture the right data. Confirm that field names and values match what’s actually in the data source.

  2. Data Collection or Processing Errors

    • Problem: Data isn’t saving to the database, or unexpected data is showing up in the logs.

    • Fix: Look at the _collect and _process functions to ensure they’re running in sequence. Check that data transformations in _process are working as expected, and verify that any dependency data is correctly fetched and formatted.

  3. Slow or Failing Dependency Data Acquisition

    • Problem: The UDF is slow or failing when pulling dependency data.

    • Fix: Review your data acquisition setup and consider simplifying it with the standardized collection methods. Only fetch the data you absolutely need to keep things efficient.

  4. Database Model Conflicts

    • Problem: Errors related to storing data in the database or issues with schema conflicts.

    • Fix: Confirm that all hex fields are set to store as bytea in your model. Make sure fields like address or transaction_hash (reserved fields) are only used as intended to avoid conflicts.

  5. Hex and String Conversion Errors

    • Problem: Errors related to data format, especially with hex-string conversions.

    • Fix: Use the utility methods designed for hex and string conversions, especially when working with blockchain addresses and transaction hashes, to keep data consistent and avoid format issues.

Getting Help and Giving Feedback

If you’ve tried these fixes but still have trouble, or if you think you’ve found a unique issue, here’s what you can do:

  1. Document Your Steps: Take note of what you’ve tried, any error logs, and relevant configurations.

PreviousTesting and Running UDFNextSupported UDFs

Last updated 5 months ago

Reach Out for Help: You can open a GitHub issue or email contact@thehemera.com or reach us out on . Including as much detail as possible will make it easier for the team to help you quickly.

discord