Skip to content

Commit

Permalink
fix: Add comments about voting power cap argument | NPG-000 (#708)
Browse files Browse the repository at this point in the history
# Description

Simple comment to indicate the integer limit for `max_voting_power_pct`
(aka. `voting_power_cap`).
  • Loading branch information
saibatizoku authored Aug 9, 2024
1 parent 95b7ca5 commit f17b510
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/voting-node/voting_node/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ async def add_default_event(
end_time = tallying_end + slotdelta(slots=5) # finish event 20 secs after tallying_end

voting_power_threshold = 450
max_voting_power_pct = 1
# Integer up to 100
max_voting_power_pct = 100

insight_sharing_start = block0_date + timedelta(minutes=4)
proposal_submission_start = block0_date + timedelta(minutes=5)
Expand Down

0 comments on commit f17b510

Please sign in to comment.