Skip to content

Update maximum credits awarded per vote from 8 to 16#127

Merged
mergify[bot] merged 1 commit intoanza-xyz:masterfrom
bji:tvc_16
Mar 7, 2024
Merged

Update maximum credits awarded per vote from 8 to 16#127
mergify[bot] merged 1 commit intoanza-xyz:masterfrom
bji:tvc_16

Conversation

@bji
Copy link
Copy Markdown

@bji bji commented Mar 7, 2024

This reduces the maximum penalty for voting after the grace period by roughly 50%. This new value was derived from looking at the effects that TVC at max credits 8 would have for recent epochs (500+) and noting that the effect was a bit extreme, up to and exceeding 10% "bonus" for faster voters. This change reduces that maximum bonus by roughly half.

@mergify mergify Bot requested a review from a team March 7, 2024 05:16
@steviez steviez added the CI Pull Request is ready to enter CI label Mar 7, 2024
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Mar 7, 2024
@steviez
Copy link
Copy Markdown

steviez commented Mar 7, 2024

I optimistically added the CI label to this PR. However, it should be noted that this change will alter consensus; versions with / without the change will award different number of vote credits to voters ==> different account state ==> diverge due to accounts delta hash.

If we end up accepting this PR, we should probably re-key the feature to avoid shooting ourselves in the foot with thinking that two versions are compatible when they really aren't. Granted the feature gate hasn't been activated, but when it does come time to activate, we might incorrectly assess the minimum required version.

FYI @AshwinSekar - I think you hold the key / are a potential reviewer for this PR

@bji
Copy link
Copy Markdown
Author

bji commented Mar 7, 2024

I agree with the proposal to re-key the feature.

@AshwinSekar AshwinSekar added the CI Pull Request is ready to enter CI label Mar 7, 2024
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Mar 7, 2024
@AshwinSekar
Copy link
Copy Markdown

I agree with the re-keying, and we should backport this to 1.18 as well. Here's a new key:
tvcF6b1TRz353zKuhBjinZkKzjmihXmBAHJdjNYw1sQ

This reduces the maximum penalty for voting after the grace period by
roughly 50%.  This new value was derived from looking at the effects
that TVC at max credits 8 would have for recent epochs (500+) and
noting that the effect was a bit extreme, up to and exceeding 10%
"bonus" for faster voters.  This change reduces that maximum bonus by
roughly half.

In addition, the TVC feature key has been changed.
@yihau yihau added the CI Pull Request is ready to enter CI label Mar 7, 2024
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Mar 7, 2024
@AshwinSekar AshwinSekar added the automerge automerge Merge this Pull Request automatically once CI passes label Mar 7, 2024
@mergify
Copy link
Copy Markdown

mergify Bot commented Mar 7, 2024

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

@mergify mergify Bot merged commit 940bd30 into anza-xyz:master Mar 7, 2024
mergify Bot pushed a commit that referenced this pull request Mar 7, 2024
This reduces the maximum penalty for voting after the grace period by
roughly 50%.  This new value was derived from looking at the effects
that TVC at max credits 8 would have for recent epochs (500+) and
noting that the effect was a bit extreme, up to and exceeding 10%
"bonus" for faster voters.  This change reduces that maximum bonus by
roughly half.

In addition, the TVC feature key has been changed.

(cherry picked from commit 940bd30)
codebender828 pushed a commit to codebender828/agave that referenced this pull request Oct 3, 2024
This reduces the maximum penalty for voting after the grace period by
roughly 50%.  This new value was derived from looking at the effects
that TVC at max credits 8 would have for recent epochs (500+) and
noting that the effect was a bit extreme, up to and exceeding 10%
"bonus" for faster voters.  This change reduces that maximum bonus by
roughly half.

In addition, the TVC feature key has been changed.
OliverNChalk pushed a commit to OliverNChalk/agave that referenced this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge automerge Merge this Pull Request automatically once CI passes community need:merge-assist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants