From e7356f8944046e5a850fa3fb3e6857c7a56f35b0 Mon Sep 17 00:00:00 2001 From: Gabriel mermelstein Date: Wed, 28 Feb 2024 18:45:28 +0200 Subject: [PATCH] Fixing test and cleaning diff --- tests/wakunode2/test_validators.nim | 3 +-- waku/factory/external_config.nim | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/wakunode2/test_validators.nim b/tests/wakunode2/test_validators.nim index 95aaa8487..b5362a431 100644 --- a/tests/wakunode2/test_validators.nim +++ b/tests/wakunode2/test_validators.nim @@ -13,12 +13,11 @@ import libp2p/multihash, secp256k1 import - ../../waku/factory/external_config, ../../waku/waku_core, ../../waku/node/peer_manager, ../../waku/waku_node, ../../waku/waku_relay, - ../../waku/waku_relay/types, + ../../waku/factory/external_config, ../testlib/wakucore, ../testlib/wakunode diff --git a/waku/factory/external_config.nim b/waku/factory/external_config.nim index f657c2b57..f1ac2510a 100644 --- a/waku/factory/external_config.nim +++ b/waku/factory/external_config.nim @@ -30,15 +30,14 @@ export confEnvvarNet type ConfResult*[T] = Result[T, string] +type ProtectedTopic* = object + topic*: string + key*: secp256k1.SkPublicKey type ShardIdx = distinct uint16 type EthRpcUrl = distinct string -type ProtectedTopic* = object - topic*: string - key*: secp256k1.SkPublicKey - type StartUpCommand* = enum noCommand # default, runs waku generateRlnKeystore # generates a new RLN keystore