-
Notifications
You must be signed in to change notification settings - Fork 542
[TOOL-4336] Dashboard: Fix contracts on custom chains not shown in contracts table #6916
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6916 +/- ##
==========================================
- Coverage 55.11% 55.10% -0.01%
==========================================
Files 896 896
Lines 57192 57192
Branches 3957 3957
==========================================
- Hits 31520 31516 -4
- Misses 25575 25579 +4
Partials 97 97
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Merge activity
|
…ntracts table (#6916) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on refactoring the chain fetching functionality within the application. It renames and updates the `getChains` function to `getChainsForNebula`, introduces a new utility `fetchChainWithLocalOverrides`, and modifies various components to utilize these changes. ### Detailed summary - Renamed `getChains` to `getChainsForNebula` in `getChainIds.ts`. - Updated references to `getChains` in `page.tsx` and `login/page.tsx` to use `getChainsForNebula`. - Introduced `fetchChainWithLocalOverrides` in `fetchChainWithLocalOverrides.ts`. - Replaced `fetchChain` with `fetchChainWithLocalOverrides` in `getSortedDeployedContracts.tsx` and `getContractFromParams.ts`. - Removed redundant local chain fetching logic from `getContractFromParams.ts`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
9716ca8
to
004f377
Compare
PR-Codex overview
This PR primarily focuses on renaming and refactoring the
getChains
function togetChainsForNebula
and updating its usage across various components. Additionally, it introduces a new utility function,fetchChainWithLocalOverrides
, to enhance chain fetching with local overrides.Detailed summary
getChains
togetChainsForNebula
ingetChainIds.ts
.getChains
togetChainsForNebula
in:page.tsx
of the login component.page.tsx
of the main app page.fetchChainWithLocalOverrides
infetchChainWithLocalOverrides.ts
for enhanced chain fetching.getSortedDeployedContracts
to usefetchChainWithLocalOverrides
.fetchChain
withfetchChainWithLocalOverrides
ingetContractFromParams.ts
.