From 427b8c3716ba9c11adcdc259be1e8928290d44fd Mon Sep 17 00:00:00 2001 From: jianman Date: Tue, 26 Nov 2024 01:57:55 +0800 Subject: [PATCH] Update RPC Provider --- .github/workflows/srtool.yml | 2 +- Makefile | 2 +- scripts/collator.sh | 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 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/srtool.yml b/.github/workflows/srtool.yml index e350529c3..a58fb1717 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://parallel-rpc.dwellir.com: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@v4 diff --git a/Makefile b/Makefile index f64a6683b..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://parallel-rpc.dwellir.com: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/collator.sh b/scripts/collator.sh index 536c24d0d..596c2d35c 100755 --- a/scripts/collator.sh +++ b/scripts/collator.sh @@ -20,7 +20,7 @@ VOLUME="chains" NODE_KEY="$1" KEYSTORE_PATH="$2" NODE_NAME="$3" -DOCKER_IMAGE="parallelfinance/parallel:v2.1.1" +DOCKER_IMAGE="parallelfinance/parallel:v3.1.2" BASE_PATH="/data" if [ $# -lt 3 ]; then diff --git a/scripts/helper/src/commands/hrmp/accept.ts b/scripts/helper/src/commands/hrmp/accept.ts index 17d7f46c8..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://parallel-rpc.dwellir.com' + 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 aed1f1f5a..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://parallel-rpc.dwellir.com' + 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 8d43578cb..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://parallel-rpc.dwellir.com' + 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 1112875a7..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://parallel-rpc.dwellir.com' + 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 d47781edd..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://parallel-rpc.dwellir.com' + 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 eb75eb0ed..80c405c8f 100644 --- a/scripts/helper/src/utils.ts +++ b/scripts/helper/src/utils.ts @@ -188,7 +188,7 @@ export const getDefaultRelayChainWsUrl = (): string => { export const getDefaultParachainWsUrl = (): string => { return process.env['RELAY_CHAIN_TYPE'] === 'kusama' ? 'wss://heiko-rpc.parallel.fi' - : 'wss://parallel-rpc.dwellir.com' + : 'wss://polkadot-parallel-rpc.parallel.fi' } export const getDefaultXcmFee = (): number => {