Skip to content

Conversation

@NgoKimPhu
Copy link

Description:

add kyberswap_aggregator_trades for: berachain, linea, mantle, ronin, sonic, unichain

@github-actions github-actions bot added WIP work in progress dbt: dex covers the DEX dbt subproject labels Jan 11, 2026
@github-actions
Copy link

github-actions bot commented Jan 11, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@NgoKimPhu
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jan 11, 2026
@NgoKimPhu NgoKimPhu marked this pull request as ready for review January 11, 2026 07:36
@cursor
Copy link

cursor bot commented Jan 11, 2026

PR Summary

Expands KyberSwap aggregator coverage and integrates new chains into the unified trades table.

  • Adds chain-specific models and schemas for berachain, linea, mantle, ronin, sonic, unichain with incremental configs, price joins, start dates, and data tests
  • Updates kyberswap_aggregator/trades.sql to union the new models and extends expose_spells to all supported chains
  • Broadens metadata in _schema.yml (blockchain list, tags) and adds contributor phu_ngo
  • Minor comment/formatting tweaks in existing chain models (e.g., token filter comments)

Written by Cursor Bugbot for commit d8c2efe. Configure here.

@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Jan 11, 2026
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment @cursor review or bugbot run to trigger another review on this PR

- name: kyberswap_aggregator_trades
meta:
blockchain: avalanche_c, optimism, ethereum, arbitrum, bnb, polygon, base
blockchain: avalanche_c, base, berachain, bnb, ethereum, linea, mantle, optimism, polygon, ronin, sonic, unichain
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arbitrum blockchain missing from metadata and expose_spells

Medium Severity

The arbitrum blockchain was accidentally dropped from the metadata when adding new chains. The blockchain: field in _schema.yml and the expose_spells list in kyberswap_aggregator_trades.sql no longer include arbitrum, but the SQL model still references kyberswap_aggregator_arbitrum_trades in the models array. This creates an inconsistency where arbitrum data is included in the union query but not exposed in the spell metadata, potentially affecting downstream consumers and documentation that rely on these declarations.

Additional Locations (1)

Fix in Cursor Fix in Web

@NgoKimPhu NgoKimPhu marked this pull request as draft January 11, 2026 07:49
@github-actions github-actions bot added WIP work in progress and removed ready-for-review this PR development is complete, please review labels Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dbt: dex covers the DEX dbt subproject WIP work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant