Closed mohammadranjbarz closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
giveth-dapps-v2 | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Jun 20, 2024 11:01am |
The recent changes primarily introduce support for ZkEVM network configurations and related components. This includes adding enums for filtering projects and campaigns by ZkEVM funding, creating a new ZkEVM icon component, updating existing icons and network configurations to reflect ZkEVM changes, and modifying the campaign link generator to handle ZkEVM-specific filters.
Files & Paths | Change Summary |
---|---|
src/apollo/types/types.ts |
Added enum values ACCEPT_FUND_ON_ZKEVM to EProjectsFilter and ECampaignFilterField . |
src/components/Icons/ZKEVM.tsx , .../Icons/PolygonZkEvm.tsx |
Created new IconBase component for ZKEVM and updated the image source path for Polygon ZkEvm icon. |
src/components/NetworkSelector.tsx |
Updated network configuration key from config.POLYGON_ZKEVM_CONFIG to config.ZKEVM_CONFIG . |
src/config/development.tsx , .../production.tsx |
Added new constants, imports, and ZKEVM_CONFIG object for ZKEVM network. |
src/configuration.ts |
Changed config mapping key from POLYGON_ZKEVM_NETWORK_NUMBER to ZKEVM_NETWORK_NUMBER . |
src/helpers/url.tsx |
Updated campaignLinkGenerator to handle AcceptFundOnZKEVM case. |
src/types/config.ts |
Modified EnvConfig interface to include ZKEVM_NETWORK_NUMBER and ZKEVM_CONFIG fields. |
From codes and types to configs we roam,
Embracing ZkEVM as our home,
Enums now dance in fields anew,
Icons display in a vibrant hue.
With links and networks interwoven tight,
A rabbitβs code now shines so bright!
πβ¨π
related to #257 #4254 #4256 #4255 #4262 #4259
Summary by CodeRabbit
New Features
Updates
ACCEPT_FUND_ON_ZKEVM
for enhanced filtering options.Bug Fixes
Configuration
ZKEVM_NETWORK_NUMBER
andZKEVM_CONFIG
to both development and production configurations.