-
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
fix: update klaytn/kaia rpc url #3426
Conversation
WalkthroughThe pull request modifies the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 eslint
packages/synapse-interface/constants/chains/master.tsxOops! Something went wrong! :( ESLint: 8.57.1 Error: Failed to load parser '@babel/eslint-parser' declared in 'packages/synapse-interface/.eslintrc.js': Cannot find module '@babel/core/package.json'
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
|
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: 1
🧹 Outside diff range and nitpick comments (1)
packages/synapse-constants/src/constants/chains/master.ts (1)
195-195
: LGTM! Consistent RPC URL update across all chain configurationsThe primary RPC URL update for KLAYTN chain has been consistently applied across all configuration files, maintaining system-wide coherence.
The distributed configuration with different fallback URLs across implementations provides good redundancy and failover capabilities.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (4)
packages/rest-api/src/constants/chains.ts
(1 hunks)packages/synapse-constants/src/constants/chains/master.ts
(1 hunks)packages/synapse-interface/constants/chains/master.tsx
(1 hunks)packages/widget/src/constants/chains.ts
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- packages/rest-api/src/constants/chains.ts
🔇 Additional comments (1)
packages/synapse-interface/constants/chains/master.tsx (1)
250-250
: LGTM! Primary RPC URL update is consistent
The change aligns with the updates in other files. Having different fallback URLs across implementations provides better redundancy.
@@ -173,7 +173,7 @@ export const KLAYTN: Chain = { | |||
id: 8217, | |||
name: 'Klaytn', | |||
rpcUrls: { | |||
primary: 'https://klaytn.blockpi.network/v1/rpc/public', | |||
primary: 'https://kaia.blockpi.network/v1/rpc/public', |
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.
💡 Codebase verification
RPC endpoint configuration inconsistency detected across packages
The new RPC endpoint 'https://kaia.blockpi.network/v1/rpc/public' is used inconsistently across the packages:
- In
widget
andsynapse-constants
: Used as primary with different fallbacks - In
synapse-interface
: Used as primary with a different fallback URL - In
rest-api
: Used as fallback instead of primary
This inconsistency in RPC configuration across packages could lead to reliability issues and unpredictable behavior.
🔗 Analysis chain
Verify the availability and reliability of the new RPC endpoint
The primary RPC URL for KLAYTN chain has been updated. Let's verify the endpoint's availability and ensure consistent updates across the codebase.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify the new RPC endpoint and check for consistency across files
# Test: Check if the new RPC endpoint is used consistently
echo "Checking for consistency of RPC URL updates..."
rg -l "kaia.blockpi.network/v1/rpc/public"
# Test: Check if there are any remaining references to the old URL
echo "Checking for any remaining old URL references..."
rg -l "klaytn.blockpi.network/v1/rpc/public"
Length of output: 492
Script:
#!/bin/bash
# Let's check the actual RPC URL configurations in these files
echo "=== Checking RPC configuration in widget/src/constants/chains.ts ==="
rg -A 2 "kaia.blockpi.network/v1/rpc/public" "packages/widget/src/constants/chains.ts"
echo -e "\n=== Checking RPC configuration in synapse-interface/constants/chains/master.tsx ==="
rg -A 2 "kaia.blockpi.network/v1/rpc/public" "packages/synapse-interface/constants/chains/master.tsx"
echo -e "\n=== Checking RPC configuration in synapse-constants/src/constants/chains/master.ts ==="
rg -A 2 "kaia.blockpi.network/v1/rpc/public" "packages/synapse-constants/src/constants/chains/master.ts"
echo -e "\n=== Checking RPC configuration in rest-api/src/constants/chains.ts ==="
rg -A 2 "kaia.blockpi.network/v1/rpc/public" "packages/rest-api/src/constants/chains.ts"
Length of output: 1540
Deploying sanguine-fe with
|
Latest commit: |
3f55d7b
|
Status: | ✅ Deploy successful! |
Preview URL: | https://b313cf12.sanguine-fe.pages.dev |
Branch Preview URL: | https://fix-fe-klaytn-rpc.sanguine-fe.pages.dev |
Bundle ReportChanges will increase total bundle size by 358.26kB (1.1%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
Description
A clear and concise description of the features you're adding in this pull request.
Additional context
Add any other context about the problem you're solving.
Metadata
Summary by CodeRabbit
New Features
Bug Fixes
66901b9: synapse-interface preview link