chore: switch wakuv2 fleet to waku

See https://github.com/status-im/infra-nim-waku/issues/91 for details

Mostly done automatically. Some parts manually.
This commit is contained in:
Anton Iakimov 2024-03-12 17:50:36 +01:00
parent 36b1f4ec5d
commit 7566f100ab
No known key found for this signature in database
GPG Key ID: DEA1FE58DD8BF7FA
7 changed files with 28 additions and 28 deletions

View File

@ -1,12 +0,0 @@
import { describe } from "mocha";
import runAll from "./index.js";
const nodes = [
"/dns4/node-01.ac-cn-hongkong-c.wakuv2.prod.statusim.net/tcp/8000/wss/p2p/16Uiu2HAm4v86W3bmT1BiH6oSPzcsSr24iDQpSN5Qa992BCjjwgrD",
"/dns4/node-01.do-ams3.wakuv2.prod.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmL5okWopX7NqZWBUKVqW8iUxCEmd5GMHLVPwCgzYzQv3e",
"/dns4/node-01.gc-us-central1-a.wakuv2.prod.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmVkKntsECaYfefR1V2yCR79CegLATuTPE6B9TxgxBiiiA",
];
describe("Prod Fleet Native WSS", () => {
runAll(nodes);
});

12
nativeWssSandboxFleet.js Normal file
View File

@ -0,0 +1,12 @@
import { describe } from "mocha";
import runAll from "./index.js";
const nodes = [
"/dns4/node-01.ac-cn-hongkong-c.waku.sandbox.status.im/tcp/8000/wss/p2p/16Uiu2HAmSJvSJphxRdbnigUV5bjRRZFBhTtWFTSyiKaQByCjwmpV",
"/dns4/node-01.do-ams3.waku.sandbox.status.im/tcp/8000/wss/p2p/16Uiu2HAmQSMNExfUYUqfuXWkD5DaNZnMYnigRxFKbk3tcEFQeQeE",
"/dns4/node-01.gc-us-central1-a.waku.sandbox.status.im/tcp/8000/wss/p2p/16Uiu2HAm6fyqE1jB5MonzvoMdU8v76bWV8ZeNpncDamY1MQXfjdB",
];
describe("Sandbox Fleet Native WSS", () => {
runAll(nodes);
});

View File

@ -2,9 +2,9 @@ import { describe } from "mocha";
import runAll from "./index.js"; import runAll from "./index.js";
const nodes = [ const nodes = [
"/dns4/node-01.ac-cn-hongkong-c.wakuv2.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAkvWiyFsgRhuJEb9JfjYxEkoHLgnUQmr1N5mKWnYjxYRVm", "/dns4/node-01.ac-cn-hongkong-c.waku.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAkzHaTP5JsUwfR9NR8Rj9HC24puS6ocaU8wze4QrXr9iXp",
"/dns4/node-01.do-ams3.wakuv2.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmPLe7Mzm8TsYUubgCAW1aJoeFScxrLj8ppHFivPo97bUZ", "/dns4/node-01.do-ams3.waku.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W",
"/dns4/node-01.gc-us-central1-a.wakuv2.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmJb2e28qLXxT5kZxVUUoJt72EMzNGXB47Rxx5hw3q4YjS", "/dns4/node-01.gc-us-central1-a.waku.test.statusim.net/tcp/8000/wss/p2p/16Uiu2HAmDCp8XJ9z1ev18zuv8NHekAsjNyezAvmMfFEJkiharitG",
]; ];
describe("Test Fleet Native WSS", () => { describe("Test Fleet Native WSS", () => {

View File

@ -11,9 +11,9 @@
"test": "run-s test:*", "test": "run-s test:*",
"test:lint": "eslint . --ext .js", "test:lint": "eslint . --ext .js",
"test:prettier": "prettier . --list-different", "test:prettier": "prettier . --list-different",
"predefined-prod": "mocha predefinedProdFleet.js --exit", "predefined-sandbox": "mocha predefinedSandboxFleet.js --exit",
"predefined-test": "mocha predefinedTestFleet.js --exit ", "predefined-test": "mocha predefinedTestFleet.js --exit ",
"native-wss-prod": "mocha nativeWssProdFleet.js --exit", "native-wss-sandbox": "mocha nativeWssSandboxFleet.js --exit",
"native-wss-test": "mocha nativeWssTestFleet.js --exit", "native-wss-test": "mocha nativeWssTestFleet.js --exit",
"waku-connect": "mocha wakuConnectFleet.js --exit", "waku-connect": "mocha wakuConnectFleet.js --exit",
"postinstall": "husky install", "postinstall": "husky install",

View File

@ -1,10 +0,0 @@
import { describe } from "mocha";
import runAll from "./index.js";
import { fleets } from "js-waku/lib/predefined_bootstrap_nodes";
const prodFleet = fleets.fleets["wakuv2.prod"]["waku-websocket"];
const nodes = Object.values(prodFleet);
describe("Predefined Prod Fleet", () => {
runAll(nodes);
});

10
predefinedSandboxFleet.js Normal file
View File

@ -0,0 +1,10 @@
import { describe } from "mocha";
import runAll from "./index.js";
import { fleets } from "js-waku/lib/predefined_bootstrap_nodes";
const sandboxFleet = fleets.fleets["waku.sandbox"]["waku-websocket"];
const nodes = Object.values(sandboxFleet);
describe("Predefined Sandbox Fleet", () => {
runAll(nodes);
});

View File

@ -2,7 +2,7 @@ import { describe } from "mocha";
import { fleets } from "js-waku/lib/predefined_bootstrap_nodes"; import { fleets } from "js-waku/lib/predefined_bootstrap_nodes";
import runAll from "./index.js"; import runAll from "./index.js";
const testFleet = fleets.fleets["wakuv2.test"]["waku-websocket"]; const testFleet = fleets.fleets["waku.test"]["waku-websocket"];
const nodes = Object.values(testFleet); const nodes = Object.values(testFleet);
describe("Predefined Test Fleet", () => { describe("Predefined Test Fleet", () => {