Skip to content

Commit

Permalink
chore: remove leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
alrevuelta committed Mar 13, 2024
1 parent 9441ec5 commit c6a446b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion tests/waku_relay/test_wakunode_relay.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions waku/waku_enr/sharding.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit c6a446b

Please sign in to comment.