Prem Chaitanya Prathi
5561fcb532
fix(tests): replace removed newStandardSwitch with SwitchBuilder
libp2p v2.0.0 dropped the `newStandardSwitch` convenience constructor.
Update `wakucore.newTestSwitch` to use the equivalent SwitchBuilder
chain (`withRng(...).withPrivateKey(...).withAddress(...).withTcp
Transport().withMplex().withNoise().build()`) and replace direct
`newStandardSwitch(...)` call sites in tests with `newTestSwitch(...)`.
Files:
- tests/testlib/wakucore.nim: rewrite `newTestSwitch` body.
- tests/waku_filter_v2/test_waku_filter_dos_protection.nim (2 sites)
- tests/waku_filter_v2/test_waku_client.nim (6 sites)
- tests/wakunode_rest/test_rest_store.nim (6 sites, also rewrite
`Opt.some(key)` → `some(key)` since `newTestSwitch` takes
`std/options.Option`).
2026-06-04 18:34:43 +05:30
..
2026-05-21 18:29:33 +01:00
2026-06-02 14:16:13 +02:00
2026-05-16 00:09:07 +02:00
2026-05-11 15:22:22 -03:00
2025-07-09 15:57:38 +10:00
2026-05-27 23:58:30 +05:30
2026-06-04 10:53:02 +02:00
2026-03-17 14:15:35 +01:00
2026-05-22 17:15:31 +05:30
2026-06-04 18:34:43 +05:30
2026-04-08 12:42:14 +02:00
2026-03-17 14:15:35 +01:00
2026-04-08 12:42:14 +02:00
2026-06-04 18:17:12 +05:30
2026-05-27 23:58:30 +05:30
2026-06-04 18:34:43 +05:30
2024-08-02 16:43:22 +02:00
2026-01-30 01:06:00 +01:00
2026-05-21 17:31:03 +05:30
2025-12-10 17:18:56 +05:30
2026-05-16 00:09:07 +02:00
2026-05-21 17:31:03 +05:30
2026-05-13 15:29:11 +02:00
2026-04-23 21:02:34 +02:00
2026-05-11 15:22:22 -03:00
2026-06-04 18:34:43 +05:30
2023-09-27 15:53:23 +02:00
2026-05-27 23:05:20 +02:00
2023-09-27 15:53:23 +02:00
2024-07-06 00:03:38 +02:00
2024-03-06 20:50:22 +01:00
2024-03-16 00:08:47 +01:00
2026-06-04 17:32:25 +05:30
2025-11-15 23:31:09 +01:00
2026-05-07 17:28:30 +02:00
2024-07-06 00:03:38 +02:00
2025-04-11 18:20:23 +03:00
2025-06-02 22:02:49 +02:00
2026-05-27 23:58:30 +05:30
2025-05-26 21:58:02 +02:00
2026-04-29 15:10:21 +02:00
2026-02-11 10:36:37 -03:00
2026-03-17 14:15:35 +01:00
2024-07-06 00:03:38 +02:00
2026-02-13 11:23:21 +01:00
2026-05-11 15:22:22 -03:00
2025-04-11 18:20:23 +03:00
2026-03-17 14:15:35 +01:00
2024-07-06 00:03:38 +02:00
2026-03-17 14:15:35 +01:00
2026-03-17 14:15:35 +01:00
2026-03-17 14:15:35 +01:00
2025-06-02 22:02:49 +02:00