Closed abtestingalpha closed 1 month ago
The changes in this pull request involve updates to various components and constants within the synapse-interface
package. Key modifications include the introduction of the "World Chain" with new properties in multiple files, updates to token definitions, and adjustments to the LandingPageWrapper
component to reflect promotional content. Additionally, new entries for the "WLD" token have been added to the bridge map, and the handling of chain IDs has been enhanced in scripts and constants.
File Path | Change Summary |
---|---|
packages/synapse-interface/components/layouts/LandingPageWrapper/index.tsx |
Updated AnnouncementBanner properties: bannerId , bannerContent , startDate , endDate to reflect support for "World Chain". |
packages/synapse-interface/constants/bridgeMap.ts |
Added new entries for 'WLD' under network identifiers '1', '10', and '480'. Updated symbols for 'WMATIC', 'MATIC', and 'WMETIS'. |
packages/synapse-interface/constants/chains/extraWagmiChains.ts |
Introduced new constant worldchain with properties like id , name , nativeCurrency , rpcUrls , and blockExplorers . |
packages/synapse-interface/constants/chains/index.tsx |
Added WORLDCHAIN with ID 480 to ChainId . Updated CHAIN_IDS and CHAINS_BY_ID exports to use new functions. |
packages/synapse-interface/constants/chains/master.tsx |
Added new chain WORLDCHAIN with various properties. Updated isNew status for LINEA and modified priorityRank for OPTIMISM . |
packages/synapse-interface/constants/chains/supportedChains.ts |
Updated supportedChains to include worldchain and adjusted the position of optimism . |
packages/synapse-interface/constants/tokens/bridgeable.ts |
Added new token WLD . Updated existing tokens MATIC to POL and WMATIC to WPOL , along with address updates for ETH and USDC.e to include WORLDCHAIN . |
packages/synapse-interface/scripts/data/providers.json |
Added new RPC endpoint for WORLDCHAIN with key "480" . |
packages/synapse-interface/scripts/generateMaps.js |
Updated allowedChainIdsForRfq to include 480 . Refactored token processing in printMaps function and modified getRFQSymbol function for specific handling of 'USDC.e'. |
endDate
prop of the LandingPageWrapper
component, related to changes in this PR.AnnouncementBanner
component in the LandingPageWrapper
, similar to the changes in this PR.LINEA
chain to the USDT
token, relevant to the broader context of token and chain updates.M-synapse-interface
, size/l
, Sol
, Typescript
In the land of chains so bright,
A new friend joins the light.
World Chain hops in with glee,
Tokens dance, oh what a spree!
With banners bold and updates grand,
Together we thrive, hand in hand! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 26.98386%. Comparing base (
6415acd
) to head (476237d
). Report is 14 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changes will decrease total bundle size by 3.9MB (-10.93%) :arrow_down:. This is within the configured threshold :white_check_mark:
ℹ️ *Bundle size includes cached data from a previous commit
Latest commit: |
476237d
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8858606d.sanguine-fe.pages.dev |
Branch Preview URL: | https://synapse-interface-worldchain.sanguine-fe.pages.dev |
Summary by CodeRabbit
New Features
Bug Fixes
Chores