Skip to content

feat: add X Layer market to the UI#2919

Merged
foodaka merged 5 commits intomainfrom
feat/xlayer
Mar 29, 2026
Merged

feat: add X Layer market to the UI#2919
foodaka merged 5 commits intomainfrom
feat/xlayer

Conversation

@foodaka
Copy link
Copy Markdown
Collaborator

@foodaka foodaka commented Mar 26, 2026

General Changes

  • Feat: xlayer market

Developer Notes

Add any notes here that may be helpful for reviewers.


Reviewer Checklist

Please ensure you, as the reviewer(s), have gone through this checklist to ensure that the code changes are ready to ship safely and to help mitigate any downstream issues that may occur.

  • End-to-end tests are passing without any errors
  • Code changes do not significantly increase the application bundle size
  • If there are new 3rd-party packages, they do not introduce potential security threats
  • If there are new environment variables being added, they have been added to the .env.example file as well as the pertinant .github/actions/* files
  • There are no CI changes, or they have been approved by the DevOps and Engineering team(s)

Copilot AI review requested due to automatic review settings March 26, 2026 14:35
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
interface Ready Ready Preview, Comment Mar 29, 2026 11:58am

Request Review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 87fe47da16

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

sammdec
sammdec previously approved these changes Mar 26, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds support for the X Layer market in the UI configuration so the app can surface the market and associated network/governance settings.

Changes:

  • Bump @aave-dao/aave-address-book to pick up X Layer constants.
  • Add X Layer to prodNetworkConfig (RPCs, explorer, bridge metadata, wagmi chain).
  • Register the X Layer market + governance payload controller data helper mapping.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
package.json Bumps @aave-dao/aave-address-book version (but introduces trailing whitespace).
yarn.lock Updates the resolved @aave-dao/aave-address-book artifact (locks to a prerelease build).
src/ui-config/networksConfig.ts Adds X Layer network configuration and wagmi chain wiring.
src/ui-config/marketsConfig.tsx Adds a new proto_xlayer_v3 market entry using X Layer address-book constants.
src/ui-config/governanceConfig.ts Adds X Layer payload controller data helper mapping.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings March 27, 2026 22:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

grothem
grothem previously approved these changes Mar 27, 2026
@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 1.15 MB (🟡 +285 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Ten Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 65.48 KB (🟡 +50 B) 1.21 MB
/bridge 29.03 KB (🟢 -3 B) 1.18 MB
/dashboard 55.3 KB (🟡 +50 B) 1.2 MB
/governance 78.48 KB (-6 B) 1.23 MB
/governance/ipfs-preview 101.97 KB (-1 B) 1.25 MB
/governance/v3/proposal 122.57 KB (-7 B) 1.27 MB
/markets 40.32 KB (🟡 +49 B) 1.19 MB
/safety-module 29.68 KB (🟢 -7 B) 1.18 MB
/sgho 88.09 KB (-8 B) 1.24 MB
/v3-migration 36.68 KB (🟡 +48 B) 1.19 MB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

@foodaka foodaka dismissed stale reviews from sammdec and grothem via 19fdc4b March 29, 2026 08:49
sammdec
sammdec previously approved these changes Mar 29, 2026
@foodaka foodaka merged commit 02228f3 into main Mar 29, 2026
10 checks passed
@foodaka foodaka deleted the feat/xlayer branch March 29, 2026 08:52
@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 1.15 MB (🟡 +283 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Ten Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 65.48 KB (🟡 +50 B) 1.21 MB
/bridge 29.03 KB (🟢 -3 B) 1.18 MB
/dashboard 55.3 KB (🟡 +50 B) 1.2 MB
/governance 78.48 KB (-6 B) 1.23 MB
/governance/ipfs-preview 101.97 KB (-1 B) 1.25 MB
/governance/v3/proposal 122.57 KB (-7 B) 1.27 MB
/markets 40.32 KB (🟡 +49 B) 1.19 MB
/safety-module 29.68 KB (🟢 -7 B) 1.18 MB
/sgho 88.09 KB (-8 B) 1.24 MB
/v3-migration 36.68 KB (🟡 +48 B) 1.19 MB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

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.

5 participants