Skip to content

[Stream 1049] Feature fsc evm livequery #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

jensenity
Copy link
Contributor

@jensenity jensenity commented Feb 9, 2025

This PR upgrades the livequery models to support fsc-evm models in livequery mode by

  1. importing the package and enabling the core logics thru dbt profile
  2. override the bronze layer with udf_api/rpc
  3. create an ephemeral model that has all the dependencies of the override dbt model
  4. create a macro that will re-render the ephemeral models into UDTF
    ephemeral rendering for UDTFs
  5. fsc-evm logics has meant to be used for multiple chains, so the TABLE return type for each blockchain is different too.
    For those UDTFs, a macro is created to support the dynamic TABLE return type by generating it and also COPY/PASTE the variables from fsc-evm
    Table Return Type Macro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant