Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 644 Bytes

upgrade_proposal-7.md

File metadata and controls

5 lines (4 loc) · 644 Bytes

Network upgrade to address voting power overflow risk

In the current version 0.3.0, there is an overflow risk in the calculation of voting power. This is primarily due to the value of DefaultPowerReduction being a constant of 10^6, while the token precision on vota-ash network is 18. As a result, the actual calculated voting power is inflated by a factor of 12, leading to a potential overflow and causing consensus failures. To address this issue, this upgrade proposal introduces two solutions:

  • Modify the value of DefaultPowerReduction from 10^6 to 10^18.
  • Migrate all existing validators' voting power via upgrade handler