-
Notifications
You must be signed in to change notification settings - Fork 291
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
Fixed zero division panic. #4720
base: dev
Are you sure you want to change the base?
Conversation
Frozen
commented
Jul 23, 2024
•
edited
Loading
edited
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.
Not sure why this isnt passing tests but this looks fine.
8070f87
to
66d32e6
Compare
Eventually harmony slot will be 0 in the future harmony/consensus/votepower/roster.go Line 203 in 66d32e6
|
@ONECasey The rosetta test may fail from time to time a restart of the job may fix the failed build |
I reset the tests multiple times. Looks like forced rebase worked. |
i'm not sure what default values should be if divider is zero |
when harmony has 0 slot and 0% vote power it means we are fully decentralized. Harmony assigned slots/keys See https://api.hmny.io/#659ad999-14ca-4498-8f74-08ed347cab49 |