Closed lawsonkight closed 2 months ago
This pull request introduces comprehensive documentation for the CCTP Router, detailing its integration with Circle's Cross-Chain Transfer Protocol (CCTP) for minting and burning USDC. It includes a visual representation of the asset transfer flow, architecture interactions between Synapse and Circle contracts, and configuration instructions for the CCTP Relayer. Additionally, operational guidelines for running the relayer and monitoring transactions are included, along with an example YAML configuration.
Files | Change Summary |
---|---|
docs/bridge/docs/04-Routers/CCTP/index.md |
Added detailed documentation for the CCTP Router, covering architecture, configuration, and operational instructions for the CCTP Relayer. |
docs/bridge/package.json |
Updated dependencies and devDependencies for Docusaurus and React, including version upgrades and the addition of new dependencies. |
docs/bridge
directory, which is relevant to the main PR's changes in the docs/bridge
documentation.docs/bridge
directory, which aligns with the main PR's focus on enhancing documentation for bridge-related services.docs/bridge
directory, which is related to the main PR's documentation updates for the CCTP Router and its interactions.docs/bridge
context.docs/bridge
ecosystem.🐇 In the garden of code, new wonders arise,
With bridges that connect, beneath endless skies.
Colors now sing in HSL's light,
As we hop through the changes, all feels just right.
So gather, dear friends, let’s leap and explore,
With the Synapse DAO, there’s always more! 🌼
docs/bridge/package.json (4)
`39-40`: **React and react-dom updates are appropriate.** The update of React and react-dom from ^18.0.0 to ^18.2.0 is a good practice. This minor version update likely includes bug fixes and performance improvements while maintaining compatibility within the React 18 ecosystem. --- `23-33`: **Docusaurus packages update looks good.** The update of Docusaurus core and related packages from 3.1.1 to 3.5.2 is a positive change. This minor version update likely includes new features, improvements, and bug fixes. To ensure a smooth transition, please run the following script to check for any breaking changes or notable new features: ```shell #!/bin/bash # Description: Check Docusaurus changelog for breaking changes and new features # Fetch the changelog changelog_url="https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md" changelog=$(curl -s $changelog_url) # Extract changes between 3.1.1 and 3.5.2 echo "Changes between 3.1.1 and 3.5.2:" echo "$changelog" | sed -n '/## 3\.5\.2/,/## 3\.1\.1/p' | grep -E '(Breaking|Features?|Improvements?)' # Check if there are any breaking changes if echo "$changelog" | sed -n '/## 3\.5\.2/,/## 3\.1\.1/p' | grep -q 'Breaking'; then echo "Warning: Breaking changes detected. Please review carefully." fi ``` --- `36-37`: **OpenAPI documentation packages update is good, but verify compatibility.** The update of docusaurus-plugin-openapi-docs and docusaurus-theme-openapi-docs from 3.0.0-beta.10 to ^4.0.1 is a significant change. Moving to a stable version is beneficial, but as this is a major version update, it may include breaking changes. Please run the following script to check for any breaking changes or migration steps: ```shell #!/bin/bash # Description: Check OpenAPI docs packages for breaking changes # Fetch the changelog for docusaurus-plugin-openapi-docs plugin_changelog_url="https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/main/CHANGELOG.md" plugin_changelog=$(curl -s $plugin_changelog_url) echo "Changes for docusaurus-plugin-openapi-docs:" echo "$plugin_changelog" | sed -n '/## \[4\.0\.1\]/,/## \[3\.0\.0-beta\.10\]/p' | grep -E '(Breaking|Features?|Improvements?)' # Fetch the changelog for docusaurus-theme-openapi-docs theme_changelog_url="https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/main/CHANGELOG.md" theme_changelog=$(curl -s $theme_changelog_url) echo "Changes for docusaurus-theme-openapi-docs:" echo "$theme_changelog" | sed -n '/## \[4\.0\.1\]/,/## \[3\.0\.0-beta\.10\]/p' | grep -E '(Breaking|Features?|Improvements?)' # Check if there are any breaking changes if echo "$plugin_changelog$theme_changelog" | sed -n '/## \[4\.0\.1\]/,/## \[3\.0\.0-beta\.10\]/p' | grep -q 'Breaking'; then echo "Warning: Breaking changes detected. Please review carefully and follow any migration steps." fi ``` --- `25-25`: **New dependencies look good, but clarification needed on synapse-constants.** The addition of Docusaurus-related dependencies (@docusaurus/module-type-aliases, @docusaurus/tsconfig, and @docusaurus/types) is likely to improve TypeScript support, which is beneficial for maintainability. The addition of synapse-constants (version 1.3.22) is noted, but its purpose in the documentation project is not immediately clear. Could you please provide more information about the synapse-constants package and its role in the documentation? Run the following script to check its contents: Also applies to: 29-30, 41-41
Latest commit: |
b3b7082
|
Status: | ✅ Deploy successful! |
Preview URL: | https://bae1e627.sanguine-fe.pages.dev |
Branch Preview URL: | https://docs-lk-exploration.sanguine-fe.pages.dev |
Changes will increase total bundle size by 7.05MB (19.78%) :arrow_up::warning:, exceeding the configured threshold of 5%.
Bundle name | Size | Change |
---|---|---|
sdk-router-@synapsecns/sdk-router-cjs* | 526.74kB | 409.5kB (349.29%) :arrow_up::warning: |
explorer-ui-server-cjs* | 866.14kB | 76 bytes (0.01%) :arrow_up: |
explorer-ui-client-array-push* | 2.31MB | 152 bytes (0.01%) :arrow_up: |
synapse-interface-client-array-push* | 7.28MB | 521 bytes (0.01%) :arrow_up: |
synapse-interface-server-cjs* | 1.64MB | 147.69kB (9.88%) :arrow_up::warning: |
widget-cjs-esm* | 271.27kB | 2.03kB (-0.74%) :arrow_down: |
docs-bridge-client-array-push | 10.57MB | 2.67MB (33.73%) :arrow_up::warning: |
docs-bridge-server-cjs | 18.35MB | 3.48MB (23.39%) :arrow_up::warning: |
synapse-constants-esm-cjs* | 174.63kB | 174.63kB (100%) :arrow_up::warning: |
synapse-constants-cjs-esm* | 174.18kB | 174.18kB (100%) :arrow_up::warning: |
ℹ️ *Bundle size includes cached data from a previous commit
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.56974%. Comparing base (
8f1899d
) to head (9e9b993
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Some specific feedback. Happy to elaborate on any specific part.
Home page:
API:
Synapse Router:
CCTP:
Contracts: Synapse router:
Liquidity Pools
CCTP and RFQ contracts
Going to check some of these boxes myself but I think these are in a great state
First pass at basic styling and content management for Synapse Docs.
Creates a new /docs/Overview page summarizing the sidebar content.
Proposal: top-level
Routers
folder for CCTP and RFQ content Proposal: renameServices
toEssential Tools
Proposal: addObservability
toEssential Tools
asTelemetry
Metadata
Summary by CodeRabbit
New Features
Documentation
c444c64f6ee913070c92a80d4e14d90b3a3da3b5: docs preview link 832ce5cd8fb54d8a47c2ecd7c6e91d68a56d0469: docs preview link 1f4d74793b008f197c02060f5581e7c2b1bcb00f: docs preview link 4571733ef87fac08a464930f0ff91bcd5a9b89d5: docs preview link 6e05bf62263a015fa999cb881bc24d986ded38be: docs preview link bad6118de256d1f686b21e5ebd68696671e09d00: docs preview link 9844b73952afd63b4c50313c52dae040a0d423f2: docs preview link 61c8cfeb6e2fd82b26685c58fb403d148f2a7bf4: docs preview link 1f30f7eb477cd028bb939f4bce52eab6c9fb7a92: docs preview link fc6eeb83a944bb877885215e3cf785090a3189c6: docs preview link ef32561e0ad1a49f4ed9492037e0c72e271eae9d: docs preview link