Skip to content

Commit

Permalink
waku_rln_relay/constants.nim: avoid adding constant seq that is used …
Browse files Browse the repository at this point in the history
…in tests only
  • Loading branch information
Ivansete-status committed Jan 15, 2025
1 parent 7075486 commit 0bf11e1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions waku/waku_rln_relay/constants.nim
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ const
# keys are created locally, using createMembershipList proc from waku_rln_relay_utils module, and the results are hardcoded in here
# this list is temporary and is created to test the performance of waku-rln-relay for the static groups
# in the later versions, this static hardcoded group will be replaced with a dynamic one
const StaticGroupKeys* =
@[

when defined(release):
## the constants are used for testing purposes
## and they enlarge the resulting binary significantly
const StaticGroupKeys* = @[]
else:
const StaticGroupKeys* =
@[
(
"23904f74b07209db3258de20e981b4564b587b238a5d259ba08329b4f84bc68c",
"294993a5e2720d8e85ddbe69c45245fdb974de3b7e62be0a4147f5de75c83059",
Expand Down

0 comments on commit 0bf11e1

Please sign in to comment.