From 504beef44680b0e1288a7398db358d2f3a672d3a Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Thu, 18 Jan 2024 13:56:49 +1300 Subject: [PATCH] disable parallel for now --- helpers/index.ts | 2 +- networks/all.ts | 4 ++-- networks/bifrost.ts | 2 +- scripts/configs/bifrost.yml | 2 +- tests/bridge-sdk/polkadot.test.ts | 40 +++++++++++++++---------------- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/helpers/index.ts b/helpers/index.ts index 705fb40..9eed35c 100644 --- a/helpers/index.ts +++ b/helpers/index.ts @@ -18,7 +18,7 @@ export { check, checkEvents, checkHrmp, checkSystemEvents, checkUmp } export * from '@acala-network/chopsticks-testing' -const defaultTimeout = process.env.CI ? 180000 : 120000 +const defaultTimeout = process.env.CI ? 180000 : 240000 export const jest = (filename: string) => { const { beforeEach, afterEach, afterAll, expect, describe, it } = (Bun as any).jest(filename) // workaround https://github.com/oven-sh/bun/issues/7873 diff --git a/networks/all.ts b/networks/all.ts index f811529..76c9b8d 100644 --- a/networks/all.ts +++ b/networks/all.ts @@ -10,7 +10,7 @@ import darwiniaConfig from './darwinia' import hydraDXConfig from './hydraDX' import interlayConfig from './interlay' import moonbeamConfig from './moonbeam' -import parallelConfig from './parallel' +// import parallelConfig from './parallel' import phalaConfig from './phala' import polkadotConfig from './polkadot' import statemintConfig from './statemint' @@ -26,7 +26,7 @@ const all = { hydraDX: hydraDXConfig, bifrost: bifrostConfig, centrifuge: centrifugeConfig, - parallel: parallelConfig, + // parallel: parallelConfig, crust: crustConfig, unique: uniqueConfig, interlay: interlayConfig, diff --git a/networks/bifrost.ts b/networks/bifrost.ts index 8a949e7..a4cbe94 100644 --- a/networks/bifrost.ts +++ b/networks/bifrost.ts @@ -7,7 +7,7 @@ export default { }, kusama: { name: 'bifrost' as const, - endpoint: 'wss://bifrost-rpc.dwellir.com', + endpoint: 'wss://bifrost-rpc.liebi.com/ws', }, config: ({ alice }) => ({ storages: { diff --git a/scripts/configs/bifrost.yml b/scripts/configs/bifrost.yml index f6ccf8c..5a167ff 100644 --- a/scripts/configs/bifrost.yml +++ b/scripts/configs/bifrost.yml @@ -1,7 +1,7 @@ extensions: client: endpoints: - - wss://bifrost-rpc.dwellir.com:443 + - wss://bifrost-rpc.liebi.com/ws event_bus: substrate_api: stale_timeout_seconds: 60 diff --git a/tests/bridge-sdk/polkadot.test.ts b/tests/bridge-sdk/polkadot.test.ts index 891a8fc..c53eb22 100644 --- a/tests/bridge-sdk/polkadot.test.ts +++ b/tests/bridge-sdk/polkadot.test.ts @@ -61,26 +61,26 @@ const tests = [ // }, // RpcError: 1: Error: createType(Lookup4):: Unable to construct number from multi-key object - { - from: 'parallel', - to: 'acala', - token: 'PARA', - }, - { - from: 'acala', - to: 'parallel', - token: 'PARA', - }, - { - from: 'parallel', - to: 'acala', - token: 'ACA', - }, - { - from: 'acala', - to: 'parallel', - token: 'ACA', - }, + // { + // from: 'parallel', + // to: 'acala', + // token: 'PARA', + // }, + // { + // from: 'acala', + // to: 'parallel', + // token: 'PARA', + // }, + // { + // from: 'parallel', + // to: 'acala', + // token: 'ACA', + // }, + // { + // from: 'acala', + // to: 'parallel', + // token: 'ACA', + // }, // Chopsticks are currently not supported. // {