Updating list of l2 networks#16348
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
I'll work on fixing the build. |
|
@coderabbitai check why its failing |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain@konopkja I'll investigate the build failure for this PR. 🏁 Script executed: Length of output: 2978 The build is failing on Netlify deployment checks. All the failures are pointing to the same Netlify deploy. Let me check what files were changed in this PR to understand what might be causing the issue: 🏁 Script executed: Length of output: 866 Let me examine the specific changes made to understand what might be causing the Netlify build failures: 🏁 Script executed: Length of output: 226 Let me fix the command syntax to examine the specific file changes: 🏁 Script executed: Length of output: 10426 Based on the diff analysis, I can see the specific changes causing the build failures. Let me check the current build logs and examine potential issues: 🏁 Script executed: Length of output: 8571 The code structure looks correct, but I suspect the build failures are related to the new network data. Let me check if the external APIs (GrowthePie) have data for the new networks: 🏁 Script executed: Length of output: 511 The API endpoints are not directly accessible, but this confirms there might be data availability issues. Let me check the actual Netlify build logs to understand the specific error: 🏁 Script executed: Length of output: 1368 Let me find the package.json file and check the project structure: 🏁 Script executed: Length of output: 6444 I notice there's no package.json file, which is unusual for a Node.js project. Let me check the repository status and see if we can get more details about the Netlify build errors: 🏁 Script executed: Length of output: 4046 @konopkja I found the root cause of the build failures! The issue is with the repository checkout configuration, not the code changes themselves. The ProblemThe build is failing because this is a sparse checkout with only 64% of the tracked files present. Key missing files include:
The EvidenceThe git history shows But it's not present in the working directory due to sparse checkout settings. The SolutionThe build failures will likely resolve once the repository has access to all necessary files. This can be fixed by:
The code changes themselves (updating L2 networks, adding optional chaining for API data, and the corresponding JSON updates) appear to be correctly implemented. The build should succeed once the file access issue is resolved. 🐰💭 This was quite the mystery to solve! Sometimes the issue isn't in the code but in the environment itself. |
|
@wackerow, Is the error due to the translation pages values, development is working fine for me. |
Hi @Parizval , the build failed because it's using mock data but we're missing it. Adding some data for unichain and ink in |
|
@JoeChenJ, I'll do that. |
Not sure if missing data in |
|
@konopkja, Could you please have a look at the PR and provide feedback. |
|
@all-contributors please add @Parizval for code |
|
I've put up a pull request to add @Parizval! 🎉 |


Description
As described in the Issue #16340, The list of L2 networks is being updated based on the l2beat definitions of stage of rollup.
Related Issue