From f886e1935a373d4b000cca9fa043193ca3e7a8bd Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Wed, 4 Feb 2026 12:35:42 +0300 Subject: [PATCH] fix: correct RPC endpoints - remove wrong :9944 port --- .github/workflows/quality-gate.yml | 5 ++--- shared/blockchain/endpoints.ts | 2 +- web/src/contexts/PezkuwiContext.tsx | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/quality-gate.yml b/.github/workflows/quality-gate.yml index 4fb31063..2762f53b 100644 --- a/.github/workflows/quality-gate.yml +++ b/.github/workflows/quality-gate.yml @@ -62,10 +62,9 @@ jobs: working-directory: ./web run: npm run build env: - VITE_NETWORK: BETA - VITE_WS_ENDPOINT: wss://rpc.pezkuwichain.io:9944 + VITE_NETWORK: MAINNET + VITE_WS_ENDPOINT: wss://rpc.pezkuwichain.io VITE_WS_ENDPOINT_FALLBACK_1: wss://mainnet.pezkuwichain.io - VITE_WS_ENDPOINT_FALLBACK_2: wss://beta.pezkuwichain.io VITE_ASSET_HUB_ENDPOINT: wss://asset-hub-rpc.pezkuwichain.io VITE_PEOPLE_CHAIN_ENDPOINT: wss://people-rpc.pezkuwichain.io diff --git a/shared/blockchain/endpoints.ts b/shared/blockchain/endpoints.ts index f2963058..299afe0e 100644 --- a/shared/blockchain/endpoints.ts +++ b/shared/blockchain/endpoints.ts @@ -28,7 +28,7 @@ export const NETWORK_ENDPOINTS: Record = { BETA: { name: 'Pezkuwi Beta Testnet', endpoint: 'https://rpc.pezkuwichain.io', - wsEndpoint: 'wss://rpc.pezkuwichain.io:9944', + wsEndpoint: 'wss://rpc.pezkuwichain.io', type: 'production', description: 'Beta testnet - Currently active for testing', }, diff --git a/web/src/contexts/PezkuwiContext.tsx b/web/src/contexts/PezkuwiContext.tsx index 864463f4..4ba8e28d 100644 --- a/web/src/contexts/PezkuwiContext.tsx +++ b/web/src/contexts/PezkuwiContext.tsx @@ -67,9 +67,8 @@ export const PezkuwiProvider: React.FC = ({ useEffect(() => { // Hardcoded production fallbacks ensure app works even if env vars are missing const PRODUCTION_FALLBACKS = [ - 'wss://rpc.pezkuwichain.io:9944', + 'wss://rpc.pezkuwichain.io', 'wss://mainnet.pezkuwichain.io', - 'wss://beta.pezkuwichain.io', ]; const FALLBACK_ENDPOINTS = [