fix: preparation to opensource the block explorer#325
Merged
nahuseyoum merged 8 commits intomainfrom Dec 17, 2025
Merged
Conversation
nahuseyoum
approved these changes
Dec 10, 2025
Contributor
nahuseyoum
left a comment
There was a problem hiding this comment.
I see a few package version upgrades, can we make sure this still works please?
nahuseyoum
approved these changes
Dec 17, 2025
micaelffrancoAV
approved these changes
Dec 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR: Open Source Preparation for Block Explorer
Summary
This PR prepares the dApps repository for open-sourcing by addressing security vulnerabilities, cleaning up code, standardizing licensing, and adding essential open-source governance files.
Changes
Security Vulnerability Fixes
Updated dependencies to patch known security vulnerabilities:
axios^0.21.1/^1.2.2^1.8.2express^4.17.1^4.20.0graphql^16.6.0^16.8.1next14.2.9/^1414.2.32/^14.2.32eslint-config-next14.2.914.2.32Added New Files
LICENSE.md- GNU General Public License v3SECURITY.md- Security vulnerability reporting policyCODEOWNERS- GitHub code ownership definitions for review assignmentsCode Cleanup
Removed Debug Logging
packages/shared/ui/src/utils/Analytics.ts- Removed debug console.logpackages/app/block-explorer/server/src/services/elastic-search/queries/transaction-queries.ts- Removed debug console.logpackages/app/liquidity/src/services/liquidity-miner.contract.ts- Removed 8 debug console.log statementsImproved Logging Levels
packages/app/uniswap/src/libs/minting-position/providers.ts- Changedconsole.logto appropriate levels (console.info,console.warn,console.error)packages/app/uniswap/src/libs/minting-position/positions.ts- Changedconsole.logtoconsole.warnpackages/app/block-explorer/ui/src/pages/index.tsx- Changedconsole.logtoconsole.infoComment Cleanup
packages/shared/core/src/utils/chainGen.ts- Cleaned up inappropriate comment ("Dirty hack" → professional comment)Testing
yarn install- Dependencies installed successfullyyarn npm audit --all- No security vulnerabilitiesyarn prettier:fix- Code formattedyarn lint- No errors (only pre-existing warnings)yarn abe-server build- Builds successfullyyarn abe-indexer build- Builds successfullyyarn abe-balances build- Builds successfullyyarn abe-ui build- Builds successfully