-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
R4R: Aggressive slashing simulation & fixes #2430
R4R: Aggressive slashing simulation & fixes #2430
Conversation
Ref #2305 (comment) |
3da9957
to
74e4a40
Compare
74e4a40
to
9a4249e
Compare
Codecov Report
@@ Coverage Diff @@
## cwgoes/nextvalset #2430 +/- ##
==================================================
Coverage 59.71% 59.71%
==================================================
Files 136 136
Lines 8410 8410
==================================================
Hits 5022 5022
Misses 3055 3055
Partials 333 333 |
Ready for review but dependent on #2255. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simple change 👍
@@ -14,7 +14,7 @@ const ( | |||
numKeys int = 250 | |||
|
|||
// Chance that double-signing evidence is found on a given block | |||
evidenceFraction float64 = 0.01 | |||
evidenceFraction float64 = 0.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should randomize this. Also .5 seems a bit too high lol.
Setting a high evidence fraction isn't sufficient tho, since it executes a different code path than liveness (Or in this bloxk) slashes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't block this PR, it lgtm!
|
Depends on #2255
Closes #2396
Closes #2225
Closes #2224
Does not yet solve #2372 because the cause of that issue is not yet clear.
Usual checklist:
docs/
)PENDING.md
with issue #Files changed
in the github PR explorerFor Admin Use: