ping-pub / explorer

A light explorer for Cosmos-based Blockchains.
https://ping.pub
GNU General Public License v2.0
324 stars 1.03k forks source link

Validator sorting #524

Open postpuber opened 10 months ago

postpuber commented 10 months ago

As I comprehend it, validators are meant to be sorted by voting power. However, in the case of the Uptick network, I have consistently observed exceptions. For instance, the validator with a voting power of 552,733 ranks higher than the one with a voting power of 558,196. Is this an intentional feature or possibly a bug?

https://ping.pub/uptick/staking

liangping commented 10 months ago

@postpuber thanks for reporting. there's no issue with sorting.

Validators are sorting by delegator_shares fields. in this case, the delegator_share of that validator is higher than others two validators.

liangping commented 10 months ago

The issue is because delegator_shares is different from 'bonded_tokens'