-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chain Pauses Update #3468
Chain Pauses Update #3468
Conversation
WalkthroughThis pull request introduces changes to manage paused chain IDs, specifically focusing on the BOBA chain. The modifications span across multiple files in the Synapse SDK and interface. A new constant Changes
Possibly related PRs
Suggested reviewers
Poem
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? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Deploying sanguine-fe with Cloudflare Pages
|
Deploying sanguine with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
packages/sdk-router/src/constants/testValues.ts (1)
34-35
: Add a comment about chain pause statusSince BOBA chain is being added to
PAUSED_CHAIN_IDS
, consider adding a comment to indicate this status to prevent confusion for developers who might try to use this constant.// Token addresses on BOBA mainnet +// Note: BOBA chain is currently paused. These constants are used for testing pause functionality. export const BOBA_USDC = '0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc'
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
packages/sdk-router/src/constants/testValues.ts
(1 hunks)packages/sdk-router/src/sdk.test.ts
(2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
- packages/sdk-router/src/sdk.test.ts
🔇 Additional comments (1)
packages/sdk-router/src/constants/testValues.ts (1)
34-35
: Verify BOBA USDC contract address
Let's verify this is the correct USDC contract address on BOBA mainnet.
✅ Verification successful
BOBA USDC address is consistent across codebase
The USDC contract address 0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc
is consistently used across multiple packages in the codebase:
- Used in bridgeable token configurations
- Referenced in bridge mapping configurations
- Used in SDK tests for BOBA chain pause functionality
The address is well-established in the project's token configuration and is being used appropriately in the test values file for verifying the chain pause feature.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify BOBA USDC contract address across the codebase and public sources
# Search for other occurrences of this address in the codebase
rg -i "66a2A913e447d6b4BF33EFbec43aAeF87890FBbc"
# Search for any documentation or config files mentioning BOBA USDC
fd -t f -e md -e json | xargs rg -i "boba.*usdc"
Length of output: 2458
Script:
#!/bin/bash
# Let's search for BOBA chain configuration to verify if this is documented as the official USDC address
# Search for BOBA chain configuration files
rg -A 5 -B 5 "BOBA.*chain"
# Search for any token lists or configuration mentioning BOBA tokens
fd -t f -e json | xargs rg -i "boba.*token"
# Search for chain configuration files
fd -t f "chain" | xargs rg -i "boba.*usdc"
Length of output: 3073
Bundle ReportChanges will decrease total bundle size by 22.88MB (-70.15%) ⬇️. This is within the configured threshold ✅ Detailed changes
|
This PR does two things:
Summary by CodeRabbit
New Features
Bug Fixes
Tests
b230a07: synapse-interface preview link
e15212f: synapse-interface preview link