π§ CuteHive Proposal Voters Logic Upgrade: Fixing Voting Discrepancy
While using CuteHive to browse proposal data, I recently noticed a significant issue β a major discrepancy between the total voting weight of a specific proposal and the calculated result from its voters list.
This prompted a deeper investigation, which ultimately led to identifying a critical logic flaw.
π§© The Issue: Inconsistent Voting Weight
CuteHive provides a very useful feature:
π View voters of a proposal, sorted by voting weight, along with a calculated total.
In theory:
The total voting weight shown in the proposal list β the sum calculated from the voters list
However, in practice:
- The difference was massive β
- This seriously affected the accuracy of evaluating proposal support
π Root Cause: Ignoring the Proxy Mechanism
After further analysis, the issue turned out to be related to a core feature of the Hive blockchain β proxy voting.
In Hive:
- If a user sets a proxy
- Their governance voting power is delegated to that proxy account
- Their own direct votes no longer count
β οΈ However, in previous versions of CuteHive:
- β Proxy status was not checked
- β Voting weight from proxied users was still included
- π This led to significantly inflated and inaccurate totals
π οΈ The Fix: Rebuilding Proposal Voters Logic
I have updated the calculation logic to align with Hiveβs on-chain governance rules.
β Key Changes
1. Logic Update (ProposalList.tsx)
- Added a check for the
proxyfield - Applied the rule:
If a voter has a proxy set, their voting weight (HP) is counted as 0
2. Type Definition Update (types.ts & ProposalVotersModal.tsx)
Added an optional
proxyfield to theVoterDatainterface:proxy?: string;
3. UI Feedback Enhancement (ProposalVotersModal.tsx)
For invalid votes caused by proxy settings:
- An orange warning is displayed under the username:
Proxied to
@username (Vote Ignored)
- These accounts are automatically sorted to the bottom (HP = 0)
π― Result
The updated Proposal Voters list now:
β
Accurately reflects real, effective voting weight
β
Clearly distinguishes between:
- βοΈ Direct support (valid votes)
- β οΈ Ignored votes (proxied users)
β Improves transparency and trust in proposal analysis
π Version Update
This fix has been released:
- π¦ Version: 3.3.63
- π Link: https://www.cutehive.com/proposals
- π‘ If you're using CuteHive, feel free to try the new version and share your feedback π
Leave π§ CuteHive Proposal Voters Logic Upgrade: Fixing Voting Discrepancy to:
Read more #hive posts
Best Posts From cutehive.com
We have not curated any of cutehive.com's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From cutehive.com
- π CuteHIVE Monitor v3.3.65: Introducing the New Account Detail Page and TXID Search
- Fixing a Small Bug in the CuteHIVE Proposal List: Baseline Proposal Display Logic
- Hive Reader Mini v2.7.9 Update: Finally Supporting Standalone Article Links! ππ
- Hive Top Holders 1.3.0 Update: Small Changes, Much Better Experience
- Hive Top Holders v1.2 Update Notes
- π Hive Top Holders Is Live: Track the Largest Holders in the Hive Ecosystem!
- Introducing Hive Witness Monitor: Making Witness Evaluation and Voting Decisions Simple and Intuitive
- π§ HIVE READER MINI Update: TXID Support Now Live (v2.7.8)
- π§ CuteHive Proposal Voters Logic Upgrade: Fixing Voting Discrepancy
- π HIVE Reader MINI UpdateοΌv2.7.7 ReleaseοΌPolished Details, Better Experience