Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reward_vote_epoch_divider to protocol config #106

Closed
wants to merge 1 commit into from
Closed

Conversation

cyc60
Copy link
Contributor

@cyc60 cyc60 commented Jul 8, 2024

No description provided.

@@ -67,5 +67,9 @@ class ProtocolConfig:

exit_signature_recover_threshold: int

# Vote for rewards every n epochs
reward_vote_epoch_divider: int = 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

every epoch by default

Suggested change
reward_vote_epoch_divider: int = 0
reward_vote_epoch_divider: int = 1

@@ -3,6 +3,9 @@
from sw_utils.typings import Oracle, ProtocolConfig


DEFAULT_REWARD_VOTE_EPOCH_DIVIDER = 3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 should not be default value, because it is gnosis-specific case

@cyc60 cyc60 closed this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants