Extended Post Upgrade Testing #107
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
Bug Description
v1.0.3 introduced a bug where a new variable (
previousCycleStartingBlock
) was introduced but not initialized.This caused voting power enumerated by the contract for voters post-upgrade to reflect their lifetime bread holdings average, rather than the average held during the previous cycle.
A post-mortem on this was created by @subject026 , with code provided here
The results of this deviation (as of 27.11) are estimated to be in the tens of $BREAD, with some projects benefiting from and some losing from this discrepancy.
Next Steps
The text was updated successfully, but these errors were encountered: