From c6a446b4502f6ec6a727bae99e3d8d87b7190844 Mon Sep 17 00:00:00 2001 From: alrevuelta Date: Wed, 13 Mar 2024 10:05:38 +0100 Subject: [PATCH] chore: remove leftovers --- tests/waku_relay/test_wakunode_relay.nim | 1 - waku/waku_enr/sharding.nim | 6 ------ 2 files changed, 7 deletions(-) diff --git a/tests/waku_relay/test_wakunode_relay.nim b/tests/waku_relay/test_wakunode_relay.nim index be19caaee1..15c1f09e65 100644 --- a/tests/waku_relay/test_wakunode_relay.nim +++ b/tests/waku_relay/test_wakunode_relay.nim @@ -507,7 +507,6 @@ suite "WakuNode - Relay": await node.start() await node.mountRelay() require node.mountSharding(1, 1).isOk - echo node.wakuSharding.getShard(DefaultContentTopic) ## Given let diff --git a/waku/waku_enr/sharding.nim b/waku/waku_enr/sharding.nim index a993a5cf62..f5045ed6de 100644 --- a/waku/waku_enr/sharding.nim +++ b/waku/waku_enr/sharding.nim @@ -30,12 +30,6 @@ type clusterId*: uint16 shardIds*: seq[uint16] -func clusterId*(rs: RelayShards): uint16 = - rs.clusterId - -func shardIds*(rs: RelayShards): seq[uint16] = - rs.shardIds - func topics*(rs: RelayShards): seq[NsPubsubTopic] = rs.shardIds.mapIt(NsPubsubTopic.staticSharding(rs.clusterId, it))