From 8330060b6884fd908463639894887ed5128e1d38 Mon Sep 17 00:00:00 2001 From: Cheng JIANG Date: Wed, 3 Jan 2024 11:33:59 +0800 Subject: [PATCH] chore: update rpc (#1959) Signed-off-by: GopherJ --- .github/workflows/srtool.yml | 2 +- Makefile | 2 +- scripts/helper/src/commands/hrmp/accept.ts | 2 +- scripts/helper/src/commands/set/add-market.ts | 2 +- scripts/helper/src/commands/set/farming-reward.ts | 2 +- scripts/helper/src/commands/set/market-reward.ts | 2 +- scripts/helper/src/commands/ump/transact.ts | 2 +- scripts/helper/src/utils.ts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/srtool.yml b/.github/workflows/srtool.yml index 26d390144..f9cf82735 100644 --- a/.github/workflows/srtool.yml +++ b/.github/workflows/srtool.yml @@ -52,7 +52,7 @@ jobs: - name: Diff with parallel live runtime if: matrix.chain == 'parallel' run: | - subwasm get wss://rpc.parallel.fi:443 --output parallel-live.wasm + subwasm get wss://polkadot-parallel-rpc.parallel.fi:443 --output parallel-live.wasm subwasm diff ${{ steps.srtool_build.outputs.wasm_compressed }} parallel-live.wasm | tee ${{ matrix.chain }}-diff.txt - name: Archive Runtime uses: actions/upload-artifact@v2 diff --git a/Makefile b/Makefile index f3de3a032..a9131d162 100644 --- a/Makefile +++ b/Makefile @@ -288,7 +288,7 @@ try-heiko-live-upgrade: .PHONY: try-parallel-live-upgrade try-parallel-live-upgrade: - make CHAIN=parallel URL=wss://rpc.parallel.fi:443 try-live-upgrade + make CHAIN=parallel URL=wss://polkadot-parallel-rpc.parallel.fi:443 try-live-upgrade help: @grep -E '^[a-zA-Z_-]+:.*?' Makefile | cut -d: -f1 | sort diff --git a/scripts/helper/src/commands/hrmp/accept.ts b/scripts/helper/src/commands/hrmp/accept.ts index 940d54a89..1ed0c53e7 100644 --- a/scripts/helper/src/commands/hrmp/accept.ts +++ b/scripts/helper/src/commands/hrmp/accept.ts @@ -21,7 +21,7 @@ export default function ({ createCommand }: CreateCommandParameters): Command { default: 'wss://rpc.polkadot.io' }) .option('-p, --para-ws [url]', 'the parachain API endpoint', { - default: 'wss://rpc.parallel.fi' + default: 'wss://polkadot-parallel-rpc.parallel.fi' }) .option('-d, --dry-run [boolean]', 'whether to execute using PARA_CHAIN_SUDO_KEY', { validator: program.BOOLEAN, diff --git a/scripts/helper/src/commands/set/add-market.ts b/scripts/helper/src/commands/set/add-market.ts index f6fb3f682..ff3d10844 100644 --- a/scripts/helper/src/commands/set/add-market.ts +++ b/scripts/helper/src/commands/set/add-market.ts @@ -10,7 +10,7 @@ export default function ({ createCommand }: CreateCommandParameters): Command { validator: program.STRING }) .option('-p, --para-ws [url]', 'the parachain API endpoint', { - default: 'wss://rpc.parallel.fi' + default: 'wss://polkadot-parallel-rpc.parallel.fi' }) .option('-d, --dry-run [boolean]', 'whether to execute using PARA_CHAIN_SUDO_KEY', { validator: program.BOOLEAN, diff --git a/scripts/helper/src/commands/set/farming-reward.ts b/scripts/helper/src/commands/set/farming-reward.ts index 20ed1439a..7634ebdbf 100644 --- a/scripts/helper/src/commands/set/farming-reward.ts +++ b/scripts/helper/src/commands/set/farming-reward.ts @@ -10,7 +10,7 @@ export default function ({ createCommand }: CreateCommandParameters): Command { validator: program.STRING }) .option('-p, --para-ws [url]', 'the parachain API endpoint', { - default: 'wss://rpc.parallel.fi' + default: 'wss://polkadot-parallel-rpc.parallel.fi' }) .option('-d, --dry-run [boolean]', 'whether to execute using PARA_CHAIN_SUDO_KEY', { validator: program.BOOLEAN, diff --git a/scripts/helper/src/commands/set/market-reward.ts b/scripts/helper/src/commands/set/market-reward.ts index cfb01d7d5..0583d13ba 100644 --- a/scripts/helper/src/commands/set/market-reward.ts +++ b/scripts/helper/src/commands/set/market-reward.ts @@ -10,7 +10,7 @@ export default function ({ createCommand }: CreateCommandParameters): Command { validator: program.STRING }) .option('-p, --para-ws [url]', 'the parachain API endpoint', { - default: 'wss://rpc.parallel.fi' + default: 'wss://polkadot-parallel-rpc.parallel.fi' }) .option('-d, --dry-run [boolean]', 'whether to execute using PARA_CHAIN_SUDO_KEY', { validator: program.BOOLEAN, diff --git a/scripts/helper/src/commands/ump/transact.ts b/scripts/helper/src/commands/ump/transact.ts index db395ec16..90ba5854f 100644 --- a/scripts/helper/src/commands/ump/transact.ts +++ b/scripts/helper/src/commands/ump/transact.ts @@ -6,7 +6,7 @@ import { u32 } from '@polkadot/types' export default function ({ createCommand }: CreateCommandParameters): Command { return createCommand('open hrmp channel to specific chain') .option('-p, --para-ws [url]', 'the parachain API endpoint', { - default: 'wss://rpc.parallel.fi' + default: 'wss://polkadot-parallel-rpc.parallel.fi' }) .option('-e, --encoded-call-data [hex]', 'the hex encoded call data', { default: '0x0001081234' diff --git a/scripts/helper/src/utils.ts b/scripts/helper/src/utils.ts index a986f90f8..e604df918 100644 --- a/scripts/helper/src/utils.ts +++ b/scripts/helper/src/utils.ts @@ -180,7 +180,7 @@ export const getDefaultRelayChainWsUrl = (): string => { export const getDefaultParachainWsUrl = (): string => { return process.env['RELAY_CHAIN_TYPE'] === 'kusama' ? 'wss://heiko-rpc.parallel.fi' - : 'wss://rpc.parallel.fi' + : 'wss://polkadot-parallel-rpc.parallel.fi' } export const getDefaultXcmFee = (): number => {