-
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
WIP: Distr-simulation OnValidatorPowerDidChange panic fix #2632
WIP: Distr-simulation OnValidatorPowerDidChange panic fix #2632
Conversation
Codecov Report
@@ Coverage Diff @@
## cwgoes/simulation-transubstantiated #2632 +/- ##
=======================================================================
+ Coverage 58.82% 58.96% +0.14%
=======================================================================
Files 152 152
Lines 9425 9434 +9
=======================================================================
+ Hits 5544 5563 +19
+ Misses 3511 3500 -11
- Partials 370 371 +1 |
running |
So it looks like what is happening is that power is being updated in block 5 (likely due to a delayed update) but block 5 has no transactions hence, none of the fees have been withdrawn - this issue looks intimately linked to the delayed validator set changes logic |
yeah basically something is modifying the power which is not being logged, hard to determine what is happening - possibly has to do with a slashing occurrence? Anyways we need better debugging tooling to determine this (CC @cwgoes) |
@rigelrozanski Did you try using the tracing KV store? Might help, or at least help isolate when the write is occurring. Agreed on better debugging tooling, what specific tooling do you think would be useful here? |
…ted' into rigel/distr-gen-fix
Note that this issue was somehow resolved in seed |
@rigelrozanski I think we can close this since the issue was fixed in #2677. |
absolutely |
closes #2618
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added entries in
PENDING.md
with issue #rereviewed
Files changed
in the github PR explorerFor Admin Use: