Skip to content

feat(GMX): add MegaETH chain support for events #2#9639

Draft
AIDataMaster wants to merge 13 commits into
duneanalytics:mainfrom
AIDataMaster:enhancement/add-megaeth-events-to-gmx-v2-project-p2
Draft

feat(GMX): add MegaETH chain support for events #2#9639
AIDataMaster wants to merge 13 commits into
duneanalytics:mainfrom
AIDataMaster:enhancement/add-megaeth-events-to-gmx-v2-project-p2

Conversation

@AIDataMaster
Copy link
Copy Markdown
Contributor

@AIDataMaster AIDataMaster commented May 6, 2026

Thank you for contributing to Spellbook 🪄

Please open the PR in draft and mark as ready when you want to request a review.

Description:

This PR introduces the initial GMX v2 event models for the MegaETH chain, focusing on core order events only.

Key Changes:

  • Added MegaETH-specific event SQL models for:
    • gmx_v2_megaeth_order_created
    • gmx_v2_megaeth_order_executed
    • gmx_v2_megaeth_order_cancelled
    • gmx_v2_megaeth_order_updated
    • gmx_v2_megaeth_order_frozen
  • Updated the chains loop in all relevant multi-chain gmx_v2_* models to include 'megaeth' where applicable.
  • Staged additional MegaETH event models for future PRs to avoid Trino OUT_OF_SPILL_SPACE memory errors in CI.

(Note: This is Part 2 of the GMX v2 multichain expansion, intentionally limited to a small batch of 5 models to ensure CI stability. Additional MegaETH event models will be introduced in subsequent PRs.)


quick links for more information:

@github-actions github-actions Bot marked this pull request as draft May 6, 2026 11:29
@github-actions github-actions Bot added WIP work in progress dbt: hourly covers the hourly dbt subproject labels May 6, 2026
@AIDataMaster AIDataMaster marked this pull request as ready for review May 7, 2026 13:07
@github-actions github-actions Bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels May 7, 2026
@AIDataMaster AIDataMaster marked this pull request as draft May 7, 2026 13:22
@AIDataMaster AIDataMaster marked this pull request as draft May 7, 2026 13:22
@github-actions github-actions Bot added WIP work in progress and removed ready-for-review this PR development is complete, please review labels May 7, 2026
@AIDataMaster AIDataMaster marked this pull request as ready for review May 8, 2026 05:58
@github-actions github-actions Bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels May 8, 2026
@AIDataMaster AIDataMaster changed the title feat(GMX): add MegaETH chain support for events. Part 2 feat(GMX): add MegaETH chain support for events #2 May 8, 2026
@AIDataMaster AIDataMaster marked this pull request as draft May 8, 2026 16:19
@github-actions github-actions Bot added WIP work in progress and removed ready-for-review this PR development is complete, please review labels May 8, 2026
@jeff-dude
Copy link
Copy Markdown
Member

@AIDataMaster plz see #9646 and #9648
we needed to optimize models to avoid excessive compute in prod. the first PR was to start on simple market/glv created models, then when that worked, we scaled to rest of models which contained the join to raw transactions and cleaned up universally.
expectation is these megaeth PRs adapt to structure on main branch now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dbt: hourly covers the hourly dbt subproject WIP work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants